Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Apr 25, 2012
1 parent 50b6776 commit 995087e
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions build/ui.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
var ui = {};

;(function(exports){

/**
* Expose `Emitter`.
*/
Expand Down Expand Up @@ -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);
}
}

Expand Down Expand Up @@ -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');
}

Expand Down Expand Up @@ -605,6 +599,7 @@ function rgba(r,g,b,a) {
/**
* Mouse position util.
*/

function localPos(e) {
var offset = $(e.target).offset();
return {
Expand Down

0 comments on commit 995087e

Please sign in to comment.