atian25 / angular-lazyload Goto Github PK
View Code? Open in Web Editor NEWA lazyload service for angular projects, only load-on-demand, support seajs/requirejs/custom.
A lazyload service for angular projects, only load-on-demand, support seajs/requirejs/custom.
ocLazyLoad支持 seajs 吗
seajs.use 和 seajs中的require.async 中的依赖是可以引入变量的。
seajs.require与requirejs.require是不能引入变量的。
你代码中的requirejs引入的
require(route.controllerUrl, function(m){}) 确定能用?
我还没有测试,但感觉好像有问题吧,或者需要引入requirejs的插件?
例如原来写法是
angular.module('app', ['datatables']);
现在换成lazyload,这里的datatables我不知道该怎么做了。
when i use angular-lazyload, i meet this error, seems there is an error in your code at line 459 and line 460
img.one('load', _loaded);
img.one('error', _error);
RT
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.