Skip to content

Commit

Permalink
Remove multiple var statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Arian committed May 27, 2010
1 parent 28f6df8 commit d6c4d22
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Source/MooDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ var MooDialog = new Class({

initialize: function(options){
this.setOptions(options);

this.ie6 = Browser.Engine.trident && Browser.Engine.version <= 4;
var options = this.options, optionsSize = options.size;

var x = optionsSize.width,
y = optionsSize.height;

var wrapper = this.wrapper = new Element('div', {

var options = this.options,
optionsSize = options.size,
x = optionsSize.width,
y = optionsSize.height,

wrapper = this.wrapper = new Element('div', {
'class': 'MooDialog',
styles: {
width: x,
Expand Down

0 comments on commit d6c4d22

Please sign in to comment.