Created
February 5, 2013 06:23
-
-
Save khepin/4712645 to your computer and use it in GitHub Desktop.
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
describe(['class_to_be_tested'], function(my_class){ | |
// Jasmine code | |
}); |
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
<html> | |
<head> | |
<title></title> | |
<script type="text/javascript" src="here link require and require config"></script> | |
<script type="text/javascript"> | |
require(['file_containing_jasmine_spec_description'], function(){ | |
// This is a callback once the 'file_containing_jasmine_spec_description' | |
// and all of its dependencies has been loaded. | |
runJasmine(); | |
}); | |
</script> | |
</head> | |
<body> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment