Skip to content

Instantly share code, notes, and snippets.

@dalmaer
Created April 11, 2011 02:36
Show Gist options
  • Save dalmaer/912991 to your computer and use it in GitHub Desktop.
Save dalmaer/912991 to your computer and use it in GitHub Desktop.
An example of my.js usage
scope.ready(function(my, $) {
$('button').on('click', function() {
my('box').setText('Hello World from my.js!')
.addClass('message')
.setLeft(200, {duration: 300});
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment