replace .content with main

This commit is contained in:
Adam Bradley
2013-08-24 21:09:20 -05:00
11 changed files with 130 additions and 114 deletions

View File

@ -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 || {});

View 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 || {});

View File

@ -1,4 +0,0 @@
(function(window, document, framework) {
})(this, document, this.FM = this.FM || {});