Skip to content

Commit

Permalink
a few more doc fixes, refs #13101 !strict
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.dojotoolkit.org/src/dojo/trunk@28606 560b804f-0ae3-0310-86f3-f6aa0a117693
  • Loading branch information
wkeese committed May 19, 2012
1 parent 695aa6a commit b3d7f2f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
12 changes: 6 additions & 6 deletions _base/lang.js
Original file line number Diff line number Diff line change
Expand Up @@ -299,19 +299,19 @@ define(["./kernel", "../has", "../sniff"], function(dojo, has){
return it && !lang.isFunction(it) && /\{\s*\[native code\]\s*\}/.test(String(it)); // Boolean
},

extend: function(constructor, props){
extend: function(ctor, props){
// summary:
// Adds all properties and methods of props to constructor's
// prototype, making them available to all instances created with
// constructor.
// constructor: Object
// ctor: Object
// Target constructor to extend.
// props: Object...
// One or more objects to mix into constructor.prototype
// props: Object
// One or more objects to mix into ctor.prototype
for(var i=1, l=arguments.length; i<l; i++){
lang._mixin(constructor.prototype, arguments[i]);
lang._mixin(ctor.prototype, arguments[i]);
}
return constructor; // Object
return ctor; // Object
},

_hitchArgs: function(scope, method){
Expand Down
10 changes: 8 additions & 2 deletions currency.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
define(["./_base/lang", "./_base/array", "./number", "./i18n", "./i18n!./cldr/nls/currency", "./cldr/monetary"],
function(lang, darray, dnumber, i18n, nlsCurrency, cldrMonetary) {
define([
"./_base/array",
/*===== "./_base/declare", =====*/
"./_base/lang",
"./number",
"./i18n", "./i18n!./cldr/nls/currency",
"./cldr/monetary"
], function(darray, lang, /*===== declare, =====*/ dnumber, i18n, nlsCurrency, cldrMonetary) {

// module:
// dojo/currency
Expand Down

0 comments on commit b3d7f2f

Please sign in to comment.