UNPKG

dojo

Version:

Dojo core is a powerful, lightweight library that makes common tasks quicker and easier. Animate elements, manipulate the DOM, and query with easy CSS syntax, all without sacrificing performance.

22 lines (19 loc) 471 B
define([ 'intern!object', 'intern/chai!assert', '../../loadInit', '../../_base/loader' ], function (registerSuite, assert, loadInit, loader) { registerSuite({ name: 'dojo/loadInit', 'construction': function () { assert.equal(loadInit.dynamic, 0); assert.isDefined(loadInit.normalize); assert.equal(loadInit.load, loader.loadInit); }, '.normalize': function () { var id = Math.random(); assert.equal(loadInit.normalize(id), id); } }); });