mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge pull request #973 from areel/master
eventName should be an object to support multiple event names: see code...
This commit is contained in:
Vendored
+1
-1
@@ -67,7 +67,7 @@ declare module Backbone {
|
||||
}
|
||||
|
||||
class Events {
|
||||
on(eventName: string, callback: (...args: any[]) => void , context?: any): any;
|
||||
on(eventName: any, callback: (...args: any[]) => void , context?: any): any;
|
||||
off(eventName?: string, callback?: (...args: any[]) => void , context?: any): any;
|
||||
trigger(eventName: string, ...args: any[]): any;
|
||||
bind(eventName: string, callback: (...args: any[]) => void , context?: any): any;
|
||||
|
||||
Vendored
+2
-2
@@ -77,7 +77,7 @@ declare module joint {
|
||||
snapToGrid(p): { x: number; y: number; };
|
||||
}
|
||||
|
||||
class ElementView {
|
||||
class ElementView extends CellView {
|
||||
scale(sx: number, sy: number);
|
||||
}
|
||||
class CellView extends Backbone.View {
|
||||
@@ -110,6 +110,6 @@ declare module joint {
|
||||
function mixin(objects: any[]): any;
|
||||
function supplement(objects: any[]): any;
|
||||
function deepMixin(objects: any[]): any;
|
||||
function deepSupplement(objects: any[]): any;
|
||||
function deepSupplement(objects: any[], defaultIndicator?: any): any;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user