Skip to content

Commit

Permalink
Modify javascript snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
wallin committed Dec 26, 2010
1 parent 075c651 commit 6632f9d
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
@@ -0,0 +1,7 @@
# -*- mode: snippet -*-
#contributor : Sebastian Wallin
#name : jQuery bind
# --
\$(document).bind("$1", function() {
$0
});
Expand Up @@ -6,4 +6,4 @@
$0
return {
};
}();
})();
Expand Up @@ -4,4 +4,4 @@
# --
\$(document).ready(function() {
$0
});
});
@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
#contributor : Sebastian Wallin
#name : jQuery trigger
# --
\$(document).trigger("$1");

0 comments on commit 6632f9d

Please sign in to comment.