mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-13 04:17:49 +00:00
shortening module names.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
||||||
module("Array-only functions (last, compact, uniq, and so on...)");
|
module("Arrays");
|
||||||
|
|
||||||
test("arrays: first", function() {
|
test("arrays: first", function() {
|
||||||
equals(_.first([1,2,3]), 1, 'can pull out the first element of an array');
|
equals(_.first([1,2,3]), 1, 'can pull out the first element of an array');
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
||||||
module("Underscore chaining.");
|
module("Chaining");
|
||||||
|
|
||||||
test("chaining: map/flatten/reduce", function() {
|
test("chaining: map/flatten/reduce", function() {
|
||||||
var lyrics = [
|
var lyrics = [
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
||||||
module("Collection functions (each, any, select, and so on...)");
|
module("Collections");
|
||||||
|
|
||||||
test("collections: each", function() {
|
test("collections: each", function() {
|
||||||
_.each([1, 2, 3], function(num, i) {
|
_.each([1, 2, 3], function(num, i) {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
||||||
module("Function functions (bind, bindAll, and so on...)");
|
module("Functions");
|
||||||
|
|
||||||
test("functions: bind", function() {
|
test("functions: bind", function() {
|
||||||
var context = {name : 'moe'};
|
var context = {name : 'moe'};
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
||||||
module("Object functions (values, extend, isEqual, and so on...)");
|
module("Objects");
|
||||||
|
|
||||||
test("objects: keys", function() {
|
test("objects: keys", function() {
|
||||||
var exception = /object/;
|
var exception = /object/;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
||||||
module("Utility functions (uniqueId, template)");
|
module("Utility");
|
||||||
|
|
||||||
test("utility: noConflict", function() {
|
test("utility: noConflict", function() {
|
||||||
var underscore = _.noConflict();
|
var underscore = _.noConflict();
|
||||||
|
|||||||
Reference in New Issue
Block a user