Framework7框架结构
以2017年2月10日发布的Framework7 1.5.3为例。
(function(){ 'use strict'; window.Framework7 = function(){ var app = this;
app.init = function(){
};
app.init();
return app; };
Framework7.prototype.device = function(){
var device = {};
return device;
};
Framework7.prototype.support = function(){
var support = {};
return support;
};
Framework7.prototype.plugins = {};
window.Dom7 = function(){ };
window.Template7 = function(){ };
window.Animate7 = function(){ };
window.Swiper = function(){ };
Swiper.prototype = {
};
})();