areel cb1b628527 eventName should be an object to support multiple event names: see code below taken from Backbone code base
// Bind an event to a `callback` function. Passing `"all"` will bind
    // the callback to all events fired.
    on: function(name, callback, context) {
      if (!eventsApi(this, 'on', name, [callback, context]) || !callback) return this;

========
  // Implement fancy features of the Events API such as multiple event
  // names `"change blur"` and jQuery-style event maps `{change: action}`
  // in terms of the existing API.
  var eventsApi = function(obj, action, name, rest) {
    if (!name) return true;

    // Handle event maps.
    if (typeof name === 'object') {
      for (var key in name) {
        obj[action].apply(obj, [key, name[key]].concat(rest));
      }
      return false;
    }

Signed-off-by: areel <aidanreel@gmail.com>
2013-08-30 21:29:47 +01:00
2013-08-06 23:56:39 -07:00
2013-08-30 18:50:31 +10:00
2013-06-19 01:57:50 +03:00
2013-08-18 03:54:59 -05:00
2013-08-19 16:19:56 -06:00
2013-08-25 11:14:01 +02:00
2013-08-07 18:02:05 +03:00
2013-08-25 19:57:49 -05:00
2013-08-25 19:57:49 -05:00
2013-08-07 16:59:39 +03:00
2013-08-23 10:25:06 +02:00
2013-08-25 11:13:57 +02:00
2013-08-07 18:02:05 +03:00
2013-08-07 22:01:45 -07:00
2013-08-24 16:10:35 -07:00
2013-06-19 01:54:04 +03:00
2013-08-07 19:05:06 +03:00
2013-08-07 16:59:39 +03:00
2013-05-25 18:08:56 +03:00
2013-03-07 21:27:00 +09:00
2013-08-07 18:20:44 +03:00
2013-08-07 18:44:33 +03:00
2013-07-30 22:42:09 -05:00
2013-08-07 16:59:39 +03:00
2013-08-07 16:59:39 +03:00
2013-01-17 20:03:30 +02:00
2013-08-21 21:14:21 +02:00
2013-08-07 18:19:34 +03:00
2013-08-07 18:15:37 +03:00
2013-08-07 16:59:39 +03:00
2013-08-07 18:02:05 +03:00
2013-06-21 23:09:43 -04:00
2013-08-15 13:11:29 -04:00
2013-08-07 18:48:02 +03:00
2013-08-07 18:02:05 +03:00
2013-08-28 17:01:16 -07:00
2013-08-19 16:01:33 -04:00
2013-08-21 21:09:42 +02:00
2013-08-29 00:29:03 +02:00
2013-08-26 21:19:28 -04:00
2013-08-07 18:02:05 +03:00
2013-08-26 19:08:31 -06:00
2013-08-04 10:52:13 -07:00
2013-08-25 11:13:56 +02:00
2013-08-07 18:02:05 +03:00
2013-06-19 22:24:11 +09:00
2013-08-07 18:02:05 +03:00
2013-08-07 18:02:05 +03:00
2013-08-25 11:13:58 +02:00
2013-06-19 22:44:05 +09:00
2013-08-07 16:59:39 +03:00
2013-07-26 17:07:33 +02:00
2013-08-25 12:54:01 +02:00
2013-08-24 14:38:42 -07:00
2013-08-25 11:38:16 +02:00
2013-08-07 16:59:39 +03:00
2013-08-07 16:59:39 +03:00
2013-08-07 18:02:05 +03:00
2013-08-15 23:13:11 -05:00
2013-08-07 16:59:39 +03:00
2013-08-07 16:59:39 +03:00
2013-08-07 16:59:39 +03:00
2013-08-28 21:50:03 +10:00
2013-08-28 21:50:03 +10:00
2013-08-19 16:19:56 -06:00
2013-08-25 13:38:09 +02:00
2012-12-20 00:49:17 -06:00
2013-06-20 15:31:55 -03:00
2013-08-28 23:55:14 +02:00

DefinitelyTyped Build Status

The repository for high quality TypeScript type definitions.

Usage

Include a line like this:

/// <reference path="jquery.d.ts" />

TypeScript Directory: tools, libraries, projects and learning resources

Contributor Guidelines

See the section: How to contribute

Other means to get the definitions

List of Definitions

Requested Definitions

S
Description
The repository for high quality TypeScript type definitions.
Readme MIT
98 MiB
Languages
TypeScript 100%