Tested in Mac OS X: super == command
Open/Goto
- super+t: go to file
- super+ctrl+p: go to project
- super+r: go to methods
| (function($){ | |
| $.isBlank = function(string){ | |
| return(!string || $.trim(string) === ""); | |
| }; | |
| })(jQuery); | |
| $.isBlank(" ") //true | |
| $.isBlank("") //true | |
| $.isBlank("\n") //true | |
| $.isBlank("a") //false |