DocumentServer/OfficeWeb/vendor/requirejs/tests/nestedRequire/a.js
2015-04-28 17:59:00 +03:00

14 lines
322 B
JavaScript

define(['base'], function (base) {
return {
name: 'a',
counter: 0,
doSomething: function () {
this.counter += 1;
this.base = base;
//This should not cause double notifications.
require(['base'], function () {
});
}
};
});