From 2ba3acda38030914dc24cab38fa442359805eaaa Mon Sep 17 00:00:00 2001 From: Kevin Ewing Date: Thu, 20 Jun 2013 13:23:16 -0700 Subject: [PATCH] Removed extra parens --- src/controldock.js | 2 +- src/navigator.js | 2 +- src/referencestrip.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/controldock.js b/src/controldock.js index 1102c244..50ae989b 100644 --- a/src/controldock.js +++ b/src/controldock.js @@ -46,7 +46,7 @@ i; $.extend( true, this, { - id: 'controldock-'+($.now())+'-'+Math.floor(Math.random()*1000000), + id: 'controldock-'+$.now()+'-'+Math.floor(Math.random()*1000000), container: $.makeNeutralElement('form'), controls: [] }, options ); diff --git a/src/navigator.js b/src/navigator.js index 957520d2..acd6da81 100644 --- a/src/navigator.js +++ b/src/navigator.js @@ -57,7 +57,7 @@ $.Navigator = function( options ){ //We may need to create a new element and id if they did not //provide the id for the existing element if( !options.id ){ - options.id = 'navigator-' + ($.now()); + options.id = 'navigator-' + $.now(); this.element = $.makeNeutralElement( "div" ); options.controlOptions = {anchor: $.ControlAnchor.TOP_RIGHT, attachToViewer: true, diff --git a/src/referencestrip.js b/src/referencestrip.js index c4325789..308bb6a4 100644 --- a/src/referencestrip.js +++ b/src/referencestrip.js @@ -70,7 +70,7 @@ $.ReferenceStrip = function( options ){ //We may need to create a new element and id if they did not //provide the id for the existing element if( !options.id ){ - options.id = 'referencestrip-' + ($.now()); + options.id = 'referencestrip-' + $.now(); this.element = $.makeNeutralElement( "div" ); this.element.id = options.id; this.element.className = 'referencestrip';