shortening module names.

This commit is contained in:
Jeremy Ashkenas
2011-10-04 15:56:32 -04:00
parent 1facc0e4fe
commit 7d0e4169a9
6 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
$(document).ready(function() {
module("Array-only functions (last, compact, uniq, and so on...)");
module("Arrays");
test("arrays: first", function() {
equals(_.first([1,2,3]), 1, 'can pull out the first element of an array');

View File

@@ -1,6 +1,6 @@
$(document).ready(function() {
module("Underscore chaining.");
module("Chaining");
test("chaining: map/flatten/reduce", function() {
var lyrics = [

View File

@@ -1,6 +1,6 @@
$(document).ready(function() {
module("Collection functions (each, any, select, and so on...)");
module("Collections");
test("collections: each", function() {
_.each([1, 2, 3], function(num, i) {

View File

@@ -1,6 +1,6 @@
$(document).ready(function() {
module("Function functions (bind, bindAll, and so on...)");
module("Functions");
test("functions: bind", function() {
var context = {name : 'moe'};

View File

@@ -1,6 +1,6 @@
$(document).ready(function() {
module("Object functions (values, extend, isEqual, and so on...)");
module("Objects");
test("objects: keys", function() {
var exception = /object/;

View File

@@ -1,6 +1,6 @@
$(document).ready(function() {
module("Utility functions (uniqueId, template)");
module("Utility");
test("utility: noConflict", function() {
var underscore = _.noConflict();