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
| var createStringFixedLength = function (length, char){ | |
| return new Array(length + 1).join(char); | |
| }; | |
| createStringFixedLength(10, 'a'); //"aaaaaaaaaa" | |
| // Generate a random string given a serie and a size, if serie is not proportionated hexadecimal base is used | |
| var hashGenerator = function(size, serie){ | |
| var serieBase = serie || '0123456789ABCDEF'; | |
| var base = serieBase.length; |
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
| @mixin small-device { | |
| @media (min-width: #{$small-device}) { | |
| @content; | |
| } | |
| } | |
| @mixin mid-device { | |
| @media (min-width: #{$mid-device}) { | |
| @content; | |
| } | |
| } |
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
| //src = https://jslinterrors.com/use-the-function-form-of-use-strict | |
| var test = function(a) { | |
| return 010; // Octal literal, illegal in strict mode | |
| }; |
NewerOlder