This file contains 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
/* ---------------------------------------------------------------------------------------------------- | |
SCSS Form Reset Helpers - Forked from: https://gist.github.com/anthonyshort/552543 | |
Intended usage: | |
- MIXINS: for very specific use cases, when you dont want to reset absolutly all the forms, very verbose output. | |
- PLACEHOLDER SELECTORS: use as extending classes. Less verbose, more generic overrides. | |
A couple of things to watch out for: |
This file contains 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
var LS = function() { | |
/* | |
LocalStorageHandler Class | |
- emulates a more user friendly interface | |
for the LocalStorage API | |
*/ | |
var LocalStorageHandler = function() { | |
this.key = "local"; |
This file contains 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.DateSelectionView = Em.View.extend({ | |
templateName: "date-selection", | |
tagName: "div", | |
classNames: ['date-selector','clearfix'], | |
classNameBindings: ['showLabels::no-labels'], | |
date: null, | |
showLabels: true, | |
timezone: true, |
This file contains 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
<div class="n-btn-group"> | |
<div class="col-xs-4 n-btn"> | |
<button type="submit" class="btn btn-success">Save</button> | |
</div> | |
<div class="col-xs-4 n-btn"> | |
<button class="btn btn-warning">Reset</button> | |
</div> | |
<div class="col-xs-4 n-btn"> | |
<button class="btn btn-danger">Delete</button> | |
</div> |
This file contains 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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
NewerOlder