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
| // alternative using 'instanceof' check | |
| (function() { | |
| 'use strict'; | |
| var array = [ | |
| 'l1a', | |
| 'l1b', |
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
| // "Class" like module pattern | |
| (function (NS) { | |
| 'use strict'; | |
| // constructor for the Person "Class", attached to global namespace | |
| var Person = NS.Person = function (name) { | |
| this.name = name; | |
| }; | |
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 xmlns="http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <title>Localstorage demo</title> | |
| </head> | |
| <script src="Scripts/jquery-2.0.3.min.js"></script> | |
| <script src="Scripts/LocalStorageUtility.js"></script> | |
| <script type="text/javascript"> |
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
| /* global module */ | |
| (function() { | |
| "use strict"; | |
| module.exports = function(grunt) { | |
| var shellOptions = { stdout: true, stderr: true, failOnError: true }; |
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> | |
| <head> | |
| <script data-main="usage" src="http://requirejs.org/docs/release/2.1.15/comments/require.js"></script> | |
| </head> | |
| <body> | |
| <p>Check your JavaScript console for output!</p> | |
| </body> | |
| </head> |
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
| #!/bin/bash | |
| ## v1.0.6 | |
| ## this script will gernerate css stats | |
| ### example output | |
| # CSS STATS | |
| # ---------- | |
| # Floats: 132 |
NewerOlder