going to version 0.1.1 with noConflict

This commit is contained in:
Jeremy Ashkenas
2009-10-28 12:37:55 -04:00
parent 195a0f0908
commit 6d52832a73
4 changed files with 33 additions and 6 deletions

View File

@@ -1,6 +1,12 @@
$(document).ready(function() {
module("Utility functions (uniqueId, template)");
test("utility: noConflict", function() {
var underscore = _.noConflict();
ok(underscore.isUndefined(_), "The '_' variable has been returned to its previous state.");
window._ = underscore;
});
test("utility: uniqueId", function() {
var ids = [], i = 0;