Initial checkin

This commit is contained in:
Joe
2017-02-07 12:55:56 -06:00
commit b557c002ae
44 changed files with 15499 additions and 0 deletions

26
js/templates.js Normal file
View File

@@ -0,0 +1,26 @@
/*globals ibuyproperties*/
ibuyproperties.templates=(function(){
var allTemplates={
navigation:["nav"],
mainPages:["Home","Sell"],
misc:["impressum","about","debug"],
partials:["sell_userInfo","sell_propInfo","sell_propAddress","sell_thanks","sell_sendError"]
};
function getAll(){
var outArr=[];
return outArr.concat(allTemplates.mainPages,allTemplates.navigation,allTemplates.misc,allTemplates.partials);
}
function getType(type){
return allTemplates[type];
}
return {
getAll:getAll,
getType:getType
};
}());