Ticket #7461: revision.diff
| File revision.diff, 1.5 kB (added by neonstalwart, 2 months ago) |
|---|
-
Users/neonstalwart/Sites/ben/public/dojo/dojo/_base/_loader/bootstrap.js
340 340 return obj && p ? (obj[p]=value) : undefined; // Object 341 341 } 342 342 343 dojo.getObject = function(/*String*/name, /*Boolean */create, /*Object*/context){343 dojo.getObject = function(/*String*/name, /*Boolean?*/create, /*Object?*/context){ 344 344 // summary: 345 345 // Get a property from a dot-separated string, such as "A.B.C" 346 346 // description: … … 348 348 // the chain, or when you have an object reference in string format. 349 349 // name: 350 350 // Path to an property, in the form "A.B.C". 351 // create: 352 // Optional. Defaults to `false`. If `true`, Objects will be 353 // created at any point along the 'path' that is undefined. 351 354 // context: 352 355 // Optional. Object to use as root of path. Defaults to 353 356 // 'dojo.global'. Null may be passed. 354 // create:355 // Optional. Defaults to `false`. If `true`, Objects will be356 // created at any point along the 'path' that is undefined.357 357 return d._getProp(name.split("."), create, context); // Object 358 358 } 359 359