This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "caret_style": "phase", | |
| "close_windows_when_empty": false, | |
| "color_scheme": "Packages/Color Scheme - Default/Solarized (Dark).tmTheme", | |
| "draw_white_space": "all", | |
| "find_selected_text": true, | |
| "fold_buttons": false, | |
| "folder_exclude_patterns": | |
| [ | |
| ".svn", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| _.templateSettings = { | |
| interpolate: /\{\{\=(.+?)\}\}/gim, | |
| evaluate: /\{\{([\s\S]+?)\}\}/gim, | |
| escape: /\{\{\-(.+?)\}\}/gim | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| window.App = { | |
| Classes: {}, | |
| Controllers: {}, | |
| Constants: {}, | |
| Devices: {}, | |
| Features: {}, | |
| Functions: {}, | |
| Helpers: {}, | |
| Models: {}, | |
| Views: {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| App.Features.customFeature = (function(feature){ | |
| var els = {}; | |
| setEls = function(element) { | |
| /* Cache any selectors that are needed */ | |
| /* els.element = $('.element') if using jQuery*/ | |
| }; | |
| method = function() { | |
| /* Method/function to make magic happen. Add as many of this as need |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| App.Features = { | |
| init: function() { | |
| var features = $('[data-features]'), | |
| featuresArray = [], | |
| $this = this; | |
| if (!features.length) return false; | |
| for (var i = 0, n = features.length; i < n; i++) { | |
| var $element = $(features[i]), | |
| func = $element.data('features'); | |
| featuresArray = func.split(' '); |
NewerOlder