mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 06:57:02 +08:00
replace .content with main
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
(function(window, document, framework) {
|
||||
framework.Tabs = function() {}
|
||||
framework.List = function() {}
|
||||
|
||||
framework.List.prototype._TAB_ITEM_CLASS = 'tab-item';
|
||||
|
||||
@ -16,8 +16,8 @@
|
||||
}
|
||||
};
|
||||
|
||||
document.addEventListener('mousedown', framework.Tabs.prototype._onTouchStart);
|
||||
document.addEventListener('touchstart', framework.Tabs.prototype._onTouchStart);
|
||||
document.addEventListener('touchend', framework.Tabs.prototype._onTouchEnd);
|
||||
document.addEventListener('mousedown', framework.List.prototype._onTouchStart);
|
||||
document.addEventListener('touchstart', framework.List.prototype._onTouchStart);
|
||||
document.addEventListener('touchend', framework.List.prototype._onTouchEnd);
|
||||
|
||||
})(this, document, this.FM = this.FM || {});
|
||||
|
||||
17
js/framework/framework-templates.js
Normal file
17
js/framework/framework-templates.js
Normal file
@ -0,0 +1,17 @@
|
||||
'use strict';
|
||||
|
||||
(function(window, document, framework) {
|
||||
|
||||
var x;
|
||||
|
||||
function collectTemplates() {
|
||||
for(x=0; x<document.elements.length; x++) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
framework.on("ready", function(){
|
||||
framework.collectTemplates();
|
||||
});
|
||||
|
||||
})(this, document, this.FM = this.FM || {});
|
||||
@ -1,4 +0,0 @@
|
||||
(function(window, document, framework) {
|
||||
|
||||
|
||||
})(this, document, this.FM = this.FM || {});
|
||||
Reference in New Issue
Block a user