Skip to content

Instantly share code, notes, and snippets.

@tobie
Created November 8, 2009 17:48
Show Gist options
  • Save tobie/229397 to your computer and use it in GitHub Desktop.
Save tobie/229397 to your computer and use it in GitHub Desktop.
testEmile: function(testcase) {
var element = document.getElementById('test_basic');
testcase.assertEqual('0px', element.style.left);
testcase.pause();
emile(element, 'left:300px', {
onComplete: function() {
testcase.resume(function() {
testcase.assertEqual('300px', element.style.left);
});
}
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment