start of nav stuff

This commit is contained in:
Adam Bradley
2013-08-23 14:48:42 -05:00
parent bc26d33d1b
commit 023bb73880
4 changed files with 833 additions and 17 deletions

View File

@ -1,17 +1,5 @@
(function(window, document, framework) {
framework.get = function(id) {
return document.getElementById(id);
};
framework.getByClass = function(classname) {
return document.getElementByClassName(classname);
};
framework.getByTag = function(tagName) {
return document.getElementsByTagName(tagName);
};
framework.trigger = function(type, data) {
window.dispatchEvent( new CustomEvent(type, data) );
};