From 995087ed57bebe74489a2dcd6e012964bc51fbdf Mon Sep 17 00:00:00 2001 From: TJ Holowaychuk Date: Wed, 25 Apr 2012 10:48:41 -0700 Subject: [PATCH] build --- build/ui.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/build/ui.js b/build/ui.js index b1b5cd7..6070c5b 100644 --- a/build/ui.js +++ b/build/ui.js @@ -1,7 +1,6 @@ var ui = {}; ;(function(exports){ - /** * Expose `Emitter`. */ @@ -95,7 +94,7 @@ Emitter.prototype.emit = function(event){ if (callbacks) { for (var i = 0, len = callbacks.length; i < len; ++i) { - callbacks[i].apply(this, args) + callbacks[i].apply(this, args); } } @@ -285,17 +284,12 @@ Dialog.prototype.escapable = function(){ */ Dialog.prototype.show = function(){ -<<<<<<< HEAD var overlay = this._overlay; this.emit('show'); if (overlay) { overlay.show(); -======= - if (this._overlay) { - this._overlay.show(); ->>>>>>> 10fed691dac10ff5328606ca0d420b76e6d3ed94 this.el.addClass('modal'); } @@ -605,6 +599,7 @@ function rgba(r,g,b,a) { /** * Mouse position util. */ + function localPos(e) { var offset = $(e.target).offset(); return {