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
.whatever { | |
-webkit-box-shadow: 0 2px 2px rgba(0,0,0,0.5) inset; | |
-moz-box-shadow: 0 2px 2px rgba(0,0,0,0.5) inset; | |
-o-box-shadow: 0 2px 2px rgba(0,0,0,0.5) inset; | |
box-shadow: 0 2px 2px rgba(0,0,0,0.5) inset; | |
} |
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
// Overload a function according to the types of arguments passed in: | |
// | |
// var fn = overloadByTypes({ | |
// 'object': function(object) {}, | |
// 'string number': function(string, number) {}, | |
// 'default': function() {} | |
// }); | |
// | |
// Returns the result of the called function. To return this to create | |
// a chainable method, for example, pass in true as a second argument: |
NewerOlder