Permalink
Browse files

fixed attr snippets

Signed-off-by: Martin Grenfell <martin_grenfell@msn.com>
  • Loading branch information...
Reza Jelveh authored and scrooloose committed Feb 19, 2009
1 parent f6f1d90 commit 4db862a85d1640b389a9a849865ec41b097a78d6
Showing with 2 additions and 2 deletions.
  1. +1 −1 javascript-jquery/attr.snippet
  2. +1 −1 javascript-jquery/attrm.snippet
@@ -1 +1 @@
-<+obj+>.attr('<+attribute+>', '<+value+>')<++>
+${1:obj}.attr('${2:attribute}', '${3:value}')${4}
@@ -1 +1 @@
-<+obj+>.attr({'<+attr1+>': '<+value1+>', '<+attr2+>': '<+value2+>'})<++>
+${1:obj}.attr({'${2:attr1}': '${3:value1}', '${4:attr2}': '${5:value2}'})${6}

0 comments on commit 4db862a

Please sign in to comment.