Skip to content

Commit

Permalink
Merge branch 'master' of github.com:gwtquery/gwtquery into gquery_1_4…
Browse files Browse the repository at this point in the history
…_release
  • Loading branch information
manolo committed Dec 12, 2013
2 parents 08f2eea + fbb31f4 commit 5275d5c
Showing 1 changed file with 14 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,12 @@
*/
package com.google.gwt.query.client;

import static com.google.gwt.query.client.plugins.QueuePlugin.Queue;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;

import com.google.gwt.core.client.GWT;
import com.google.gwt.core.client.JavaScriptObject;
import com.google.gwt.core.client.JsArray;
import com.google.gwt.core.client.JsArrayMixed;
import com.google.gwt.core.client.JsArrayString;
import com.google.gwt.core.client.ScriptInjector;
import com.google.gwt.dev.Link;
import com.google.gwt.dom.client.BodyElement;
import com.google.gwt.dom.client.ButtonElement;
import com.google.gwt.dom.client.Document;
Expand Down Expand Up @@ -70,6 +62,13 @@
import com.google.gwt.user.client.ui.IsWidget;
import com.google.gwt.user.client.ui.Widget;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Map;

import static com.google.gwt.query.client.plugins.QueuePlugin.Queue;

/**
* GwtQuery is a GWT clone of the popular jQuery library.
*/
Expand Down Expand Up @@ -3235,6 +3234,13 @@ public GQuery on(String eventName, String selector, Object data, Function... fun
public GQuery off() {
return as(Effects).off();
}

/**
* Remove an event handler
*/
public GQuery off(String eventName) {
return unbind(eventName, null);
}

/**
* Remove an event handler
Expand Down

0 comments on commit 5275d5c

Please sign in to comment.