This repo is archived. You can view files and clone it, but cannot push or open issues or pull requests.
SXS20240115/SRC/iMES_PAD/JSplugins/angularAMD/ngload.js
2024-01-24 16:47:50 +08:00

19 lines
430 B
JavaScript

/*!
angularAMD v0.2.1
(c) 2013-2014 Marcos Lin https://github.com/marcoslin/
License: MIT
*/
define({
load: function (name, req, onload) {
'use strict';
//console.log("ngamd loaded: ", req.toUrl(name));
req(['angularAMD', name], function (angularAMD, value) {
//console.log("Processing queues.");
angularAMD.processQueue();
onload(value);
});
}
});