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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> | |
| <meta name="description" content=""> | |
| <meta name="author" 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
| function removeDoubleChars(){ | |
| var input = document.getElementById('inputText').value, | |
| output = document.getElementById('outputText'), | |
| chars = []; | |
| for(var i = 0; i < input.length; i++){ | |
| if(chars.indexOf(input[i]) === -1) chars.push(input[i]); | |
| } | |
| chars.sort(); | |
| output.value = chars.join(''); | |
| }; |
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
| // If the browserreload with browserSync and watch after SASS compiling is to slow, | |
| // following solutions could help. | |
| // Use one or more of the following options | |
| // Options: | |
| // spawn: false | |
| // interrupt: true | |
| // persistent: true | |
| // interval: 5007 | |
| grunt.initConfig({ |
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
| module.exports.pad = (paramNumber) => { | |
| paramNumber < 10 && paramNumber > -1 ? '0' + paramNumber : paramNumber; | |
| }; |
OlderNewer