add js snippets

This commit is contained in:
E.Azer Koçulu
2013-02-15 14:22:23 -08:00
parent 700a68eb15
commit 61cee70ec0
29 changed files with 212 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
# -*- mode: snippet -*-
# name: prop
# key: prop
# --
var $1 = (function(){
var value = undefined;
return function $1(newValue){
if( $1.arguments.length > 0 ){
value = newValue;
}
return value;
};
})();