Changes between Initial Version and Version 1 of Ticket #16810, comment 6


Ignore:
Timestamp:
Mar 7, 2013, 12:00:56 PM (9 years ago)
Author:
lee
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16810, comment 6

    initial v1  
    11Yes it's on the window object (see the test) console.log(windowconsolestr + '5', window.dojo18);
     2It's definitely because of dojo/date/locale (a dependency of CalendarLite), I'm just struggling a bit to understand the lang.getProp method.[[BR]]
     3
     4
     5An empty object named "dojo18" is added in lang.getProp at: return obj && p ? (obj[p] = value) : undefined;[[BR]]
     6
     7A date property is added at lang.getProp at: context = (p in context ? context[p] : (create ? context[p] = {} : undefined));[[BR]]
     8
     9Then I think the locale property is set in lang.setObject at: return obj && p ? (obj[p] = value) : undefined; //