Add ruby stuff
[emacs.git] / .emacs.d / elisp / yasnippet / snippets / js-mode / prop.yasnippet
1 # -*- mode: snippet -*-
2 # name: prop
3 # key: prop
4 # --
5
6 var $1 = (function(){
7
8 var value = undefined;
9
10 return function $1(newValue){
11
12 if( $1.arguments.length > 0 ){
13 value = newValue;
14 }
15
16 return value;
17 };
18
19 })();