web-apps/vendor/requirejs/tests/nestedRequire/a.js
Maxim Kadushkin 741b10515d webapps added
2016-03-10 21:48:53 -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 () {
});
}
};
});