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
| function getIndexToIns(arr, num) { | |
| var sort = function(a,b) { | |
| return a - b; | |
| }; | |
| var sortedArray = arr.sort(sort); | |
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
| function destroyer(arr) { | |
| var args = Array.prototype.slice.call(arguments, 1); | |
| var filtered = []; | |
| function filter (number) { | |
| var check = args.indexOf(number) === -1; | |
| return check; | |
| } |
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
| function chunkArrayInGroups(arr, size) { | |
| var chunky = []; | |
| var arraySize = arr.length; | |
| for(var i = 0; i < arraySize; i+= size) { | |
| chunky.push(arr.slice(i, i+size)); | |
| } | |
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
| .row | |
| .offset-md-4.col-md-3 | |
| h1 Hola amigos | |
| .col-md-4 | |
| p Inspirado por <a href="http://www.flexboxgrid.com/" target="_blank">Flexbox Grid</a> | |
| .row | |
| .col-md-2 | |
| img(src="http://www.fillmurray.com/300/300") | |
| .col-md-8 |
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
| // ---- | |
| // Sass (v3.4.14) | |
| // Compass (v1.0.3) | |
| // ---- | |
| $grid__max-width : 960px | |
| $grid__col-number : 12 | |
| $breakpoints : (sm: 48em, md: 700px, lg: 1000px) | |
| %col-generales |
NewerOlder