mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 00:57:48 +00:00
shortening module names.
This commit is contained in:
@@ -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');
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
$(document).ready(function() {
|
||||
|
||||
module("Underscore chaining.");
|
||||
module("Chaining");
|
||||
|
||||
test("chaining: map/flatten/reduce", function() {
|
||||
var lyrics = [
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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'};
|
||||
|
||||
@@ -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/;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
$(document).ready(function() {
|
||||
|
||||
module("Utility functions (uniqueId, template)");
|
||||
module("Utility");
|
||||
|
||||
test("utility: noConflict", function() {
|
||||
var underscore = _.noConflict();
|
||||
|
||||
Reference in New Issue
Block a user