From d8d40149e00bec0ac45080d23de49321fc252185 Mon Sep 17 00:00:00 2001 From: Samuel Clay Date: Fri, 15 Oct 2010 09:49:56 -0400 Subject: [PATCH 1/2] Type found by pbowyer. --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 1c52de2c..653e8c69 100644 --- a/index.html +++ b/index.html @@ -273,7 +273,7 @@

Introduction

- When working on a web application that involved a lot of JavaScript, one + When working on a web application that involves a lot of JavaScript, one of the first things you learn is to stop tying your data to the DOM. It's all too easy to create JavaScript applications that end up as tangled piles of jQuery selectors and callbacks, all trying frantically to keep data in From 7b10698af656ffe137aaf78baba7e3e7156b0778 Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Fri, 15 Oct 2010 09:57:31 -0400 Subject: [PATCH 2/2] making the speed test labels fit on the graph --- test/speed.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/speed.js b/test/speed.js index 6cd0b66c..2c62c16a 100644 --- a/test/speed.js +++ b/test/speed.js @@ -18,7 +18,7 @@ object.bind('test:trigger2', fn); object.bind('test:trigger2', fn); - JSLitmus.test('Events: trigger 2 functions, passing 5 arguments', function() { + JSLitmus.test('Events: trigger 2, passing 5 args', function() { object.trigger('test:trigger2', 1, 2, 3, 4, 5); }); @@ -31,14 +31,14 @@ var eventModel = new Backbone.Model; eventModel.bind('change', fn); - JSLitmus.test('Model: set Math.random() with a change event', function() { + JSLitmus.test('Model: set rand() with an event', function() { eventModel.set({number: Math.random()}); }); var keyModel = new Backbone.Model; keyModel.bind('change:number', fn); - JSLitmus.test('Model: set Math.random() with a key-value observer', function() { + JSLitmus.test('Model: set rand() with an attribute observer', function() { keyModel.set({number: Math.random()}); });