From fd822bdaf9d04e522aaa5400b673f333190abe98 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Fri, 7 Oct 2011 11:27:49 -0700 Subject: chore(formating): clean code to be function() { --- docs/spec/domSpec.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'docs/spec/domSpec.js') diff --git a/docs/spec/domSpec.js b/docs/spec/domSpec.js index 3fda656f..45813cc4 100644 --- a/docs/spec/domSpec.js +++ b/docs/spec/domSpec.js @@ -1,15 +1,15 @@ var DOM = require('dom.js').DOM; -describe('dom', function(){ +describe('dom', function() { var dom; - beforeEach(function(){ + beforeEach(function() { dom = new DOM(); }); - describe('h', function(){ + describe('h', function() { - it('should render using function', function(){ + it('should render using function', function() { var cbThis; var cdValue; dom.h('heading', 'content', function(value){ @@ -20,8 +20,8 @@ describe('dom', function(){ expect(cbValue).toEqual('content'); }); - it('should update heading numbers', function(){ - dom.h('heading', function(){ + it('should update heading numbers', function() { + dom.h('heading', function() { this.html('

sub-heading

'); }); expect(dom.toString()).toContain('

heading

'); -- cgit v1.2.3