Skip to content

Instantly share code, notes, and snippets.

@kaievns
Created March 10, 2010 15:20
Show Gist options
  • Save kaievns/327969 to your computer and use it in GitHub Desktop.
Save kaievns/327969 to your computer and use it in GitHub Desktop.
RigthJS safe-mode example
RightJS.run(function(_) {
with (_) {
var Klass = new Class(Observer, {
EVENTS: $w('some darn events'),
initialize: function() {
alert("Holy Jack!")
}
});
new Klass();
alert(isArray([1,2,3]));
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment