Lines Matching refs:load
1798 // -- load() -----------------------------------------------------------
1799 'load() should accept a URL': function () {
1804 test.t = Y.Get.load(url);
1808 // having to pass a callback to Y.Get.load().
1827 'load() should accept a URL, options object, and callback function': function () {
1831 test.t = Y.Get.load(path('a.css'), {
1861 'load() should allow the callback function as the second parameter': function () {
1864 test.t = Y.Get.load(path('a.js'), function (err, transaction) {
1877 'load() should accept an array of URLs': function () {
1880 test.t = Y.Get.load([path('a.js'), path('b.css'), path('c.js')], {
1901 'load() should accept a request object': function () {
1904 test.t = Y.Get.load({url: path('a.js')}, {
1923 'load() should accept an array of request objects': function () {
1926 test.t = Y.Get.load([{url: path('a.css')}, {url: path('b.js')}, {url: path('c.css')}], {
1947 'load() should accept a mixed array of URLs and request objects': function () {
1950 test.t = Y.Get.load([path('a.js'), {url: path('b.js')}, path('c.css')], {
1986 t3 = Y.Get.load(path('c.js'), function (err, t) {