Created
December 1, 2010 20:37
-
-
Save tbranyen/724172 to your computer and use it in GitHub Desktop.
jquery plugin example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(window, $) { | |
$.fn.renderTemplate = function(paths) { | |
var template, context; | |
// Fetch template and context block | |
// Render block | |
}(); | |
})(this, jQuery); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment