From 7ad49aeae93bf2218f545ed96fd0e3b87d33710e Mon Sep 17 00:00:00 2001 From: Richard Wall Date: Sun, 7 Aug 2011 17:13:18 +0100 Subject: 80 col wrapping --- jarmon/jarmon.test.js | 54 +++++++++++++++++++++++++++++---------------------- 1 file changed, 31 insertions(+), 23 deletions(-) diff --git a/jarmon/jarmon.test.js b/jarmon/jarmon.test.js index 7b009d7..5f832ec 100644 --- a/jarmon/jarmon.test.js +++ b/jarmon/jarmon.test.js @@ -35,7 +35,8 @@ YUI({ logInclude: { TestRunner: true } }).use('console', 'test', function(Y) { function(self, ret) { self.resume(function() { Y.Assert.isInstanceOf(jarmon.BinaryFile, ret); - Y.Assert.areEqual(String.fromCharCode(0), ret.getRawData()); + Y.Assert.areEqual( + String.fromCharCode(0), ret.getRawData()); }); }, this); @@ -136,7 +137,7 @@ YUI({ logInclude: { TestRunner: true } }).use('console', 'test', function(Y) { for(var i=0; i
').appendTo($('body')); + var $tpl = $( + '
').appendTo($('body')); var c = new jarmon.Chart($tpl, jarmon.Chart.BASE_OPTIONS); // c.options.xaxis.tzoffset = 0; - c.addData('speed', new jarmon.RrdQueryRemote('build/test.rrd', 'm/s'), true); + c.addData( + 'speed', + new jarmon.RrdQueryRemote('build/test.rrd', 'm/s'), + true); var d = c.setTimeRange(RRD_STARTTIME, RRD_ENDTIME); d.addCallback( function(self) { @@ -396,7 +402,7 @@ YUI({ logInclude: { TestRunner: true } }).use('console', 'test', function(Y) { }); }, this); this.wait(); - }, + } })); @@ -404,7 +410,7 @@ YUI({ logInclude: { TestRunner: true } }).use('console', 'test', function(Y) { name: "jarmon.RrdChooser", setUp: function() { - this.$tpl = $('
').appendTo($('body')) + this.$tpl = $('
').appendTo($('body')); var c = new jarmon.RrdChooser(this.$tpl); c.drawRrdUrlForm(); }, @@ -437,13 +443,15 @@ YUI({ logInclude: { TestRunner: true } }).use('console', 'test', function(Y) { * list of further DS label fields **/ var self = this; - this.$tpl.find('form input[name=rrd_url]').val('build/test.rrd').submit(); + this.$tpl.find( + 'form input[name=rrd_url]').val('build/test.rrd').submit(); this.wait( function() { - Y.Assert.areEqual(self.$tpl.find('input[name=rrd_ds_label]').size(), 1); + Y.Assert.areEqual( + self.$tpl.find('input[name=rrd_ds_label]').size(), 1); }, 1000 ); - }, + } })); @@ -451,7 +459,7 @@ YUI({ logInclude: { TestRunner: true } }).use('console', 'test', function(Y) { name: "jarmon.ChartEditor", setUp: function() { - this.$tpl = $('
').appendTo($('body')) + this.$tpl = $('
').appendTo($('body')); var c = new jarmon.ChartEditor( this.$tpl, { -- cgit v1.1-4-g5e80