Skip to content

Commit

Permalink
removing colons that shouldn't be there, refs #13101 !strict
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.dojotoolkit.org/src/dojo/trunk@28889 560b804f-0ae3-0310-86f3-f6aa0a117693
  • Loading branch information
wkeese committed Jun 17, 2012
1 parent 47e7881 commit 458600b
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 23 deletions.
22 changes: 11 additions & 11 deletions _base/connect.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,13 +203,13 @@ var connect = {
// The return value is a handle that is needed to
// remove this connection with `dojo.disconnect`.
//
// obj: Object|null:
// obj: Object?
// The source object for the event function.
// Defaults to `kernel.global` if null.
// If obj is a DOM node, the connection is delegated
// to the DOM event manager (unless dontFix is true).
//
// event: String:
// event: String
// String name of the event function in obj.
// I.e. identifies a property `obj[event]`.
//
Expand All @@ -223,7 +223,7 @@ var connect = {
// object object for method (context[method]). If context is null,
// kernel.global is used.
//
// method: String|Function:
// method: String|Function
// A function reference, or name of a function in context.
// The function identified by method fires after event does.
// method receives the same arguments as the event.
Expand Down Expand Up @@ -282,7 +282,7 @@ var connect = {
// Remove a link created by dojo.connect.
// description:
// Removes the connection between event and the method referenced by handle.
// handle: Handle:
// handle: Handle
// the return value of the dojo.connect call that created the connection.

if(handle){
Expand All @@ -295,11 +295,11 @@ var connect = {
// Attach a listener to a named topic. The listener function is invoked whenever the
// named topic is published (see: dojo.publish).
// Returns a handle which is needed to unsubscribe this listener.
// topic: String:
// topic: String
// The topic to which to subscribe.
// context: Object|null:
// context: Object?
// Scope in which method will be invoked, or null for default scope.
// method: String|Function:
// method: String|Function
// The name of a function in context, or a function reference. This is the function that
// is invoked when topic is published.
// example:
Expand All @@ -311,7 +311,7 @@ var connect = {
publish:function(topic, args){
// summary:
// Invoke all listener method subscribed to topic.
// topic: String:
// topic: String
// The name of the topic to publish.
// args: Array?
// An array of arguments. The arguments will be applied
Expand All @@ -328,12 +328,12 @@ var connect = {
// on the topic. Returns a handle which can be passed to
// dojo.disconnect() to disable subsequent automatic publication on
// the topic.
// topic: String:
// topic: String
// The name of the topic to publish.
// obj: Object|null:
// obj: Object?
// The source object for the event function. Defaults to kernel.global
// if null.
// event: String:
// event: String
// The name of the event function in obj.
// I.e. identifies a property obj[event].
// example:
Expand Down
6 changes: 3 additions & 3 deletions _base/declare.js
Original file line number Diff line number Diff line change
Expand Up @@ -714,15 +714,15 @@ define(["./kernel", "../has", "./lang"], function(dojo, has, lang){
function declare(className, superclass, props){
// summary:
// Create a feature-rich constructor from compact notation.
// className: String?:
// className: String?
// The optional name of the constructor (loosely, a "class")
// stored in the "declaredClass" property in the created prototype.
// It will be used as a global name for a created constructor.
// superclass: Function|Function[]:
// superclass: Function|Function[]
// May be null, a Function, or an Array of Functions. This argument
// specifies a list of bases (the left-most one is the most deepest
// base).
// props: Object:
// props: Object
// An object whose properties are copied to the created prototype.
// Add an instance-initialization function by making it a property
// named "constructor".
Expand Down
6 changes: 3 additions & 3 deletions _base/lang.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ define(["./kernel", "../has", "../sniff"], function(dojo, has){
_mixin: function(dest, source, copyFunc){
// summary:
// Copies/adds all properties of source to dest; returns dest.
// dest: Object:
// dest: Object
// The object to which to copy/add all properties contained in source.
// source: Object:
// source: Object
// The object from which to draw all properties to copy into dest.
// copyFunc: Function?:
// copyFunc: Function?
// The process used to copy/add a property in source; defaults to the Javascript assignment operator.
// returns:
// dest, as modified
Expand Down
16 changes: 10 additions & 6 deletions query.js
Original file line number Diff line number Diff line change
Expand Up @@ -380,9 +380,9 @@ define(["./_base/kernel", "./has", "./dom", "./on", "./_base/array", "./_base/la
// summary:
// see dojo.indexOf(). The primary difference is that the acted-on
// array is implicitly this NodeList
// value: Object:
// value: Object
// The value to search for.
// fromIndex: Integer?:
// fromIndex: Integer?
// The location to start searching from. Optional. Defaults to 0.
// description:
// For more details on the behavior of indexOf, see Mozilla's
Expand Down Expand Up @@ -417,8 +417,10 @@ define(["./_base/kernel", "./has", "./dom", "./on", "./_base/array", "./_base/la
// Takes the same structure of arguments and returns as
// dojo.every() with the caveat that the passed array is
// implicitly this NodeList
// callback: Function: the callback
// thisObject: Object?: the context
// callback: Function
// the callback
// thisObject: Object?
// the context
return d.every(this, callback, thisObject); // Boolean
},
Expand All @@ -429,8 +431,10 @@ define(["./_base/kernel", "./has", "./dom", "./on", "./_base/array", "./_base/la
// implicitly this NodeList. See `dojo.some()` and Mozilla's
// (Array.some
// documentation)[http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Array:some].
// callback: Function: the callback
// thisObject: Object?: the context
// callback: Function
// the callback
// thisObject: Object?
// the context
return d.some(this, callback, thisObject); // Boolean
},
=====*/
Expand Down

0 comments on commit 458600b

Please sign in to comment.