// global notation
// <script src="awesomplete.js"></script>
// <script src="awesomplete-email.js"></script>
// <script src="awesomplete-select.js"></script>
Awesomplete.init();
// commonjs/middleware notation
#GitHub markdown TOC generator (bookmarklet) Drag THIS LINK to the your bookmarks
###Guides
http://codeguide.co/
https://github.com/styleguide
https://github.com/airbnb/javascript
https://github.com/polarmobile/coffeescript-style-guide
inuit.css = BEM + OOCSS + awesomeness
https://github.com/csswizardry/inuit.css/
https://github.com/inuitcss/getting-started
http://jsfiddle.net/user/inuitcss/fiddles/
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
//test case http://jsfiddle.net/NHZ6W/ | |
(function(Element, undefined){ | |
var _setAttribute = Element.prototype.setAttribute; | |
Element.prototype.setAttribute = function(attrName, attrValue){ | |
if (this.hasAttribute(attrName)) { | |
if (attrValue !== undefined) { | |
_setAttribute.call(this, attrName, attrValue); | |
} | |
//do nothing if attr exists and action is to create |
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
/* | |
Tested on | |
(Windows 7) | |
Chrome, Firefox | |
(Android 4.1) | |
Android Browser, Chrome, Firefox | |
(iOS 6.1.3) | |
Safari | |
*/ |
#node-tasker An exercise on Promises and flows (simulating Grunt tasks on a node server)
##Usage
tasker.registerTask('test1', function(){
console.log('test1');
});
tasker.registerTask('test2', function(resolve, reject){
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
/* experimental, flexbox grid */ | |
@fg_total_columns: 12; | |
.fg-row { | |
-moz-box-sizing: border-box; | |
box-sizing: border-box; | |
display: flex; | |
} | |
.fg-col-base { | |
-moz-box-sizing: border-box; |
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
{ | |
"terms": { | |
"search": "tração", | |
"text": "Concentração prévia tração centrado" | |
}, | |
"found": true, | |
"result": [ | |
{ | |
"str": "Concen", | |
"isMatch": false |