examples/bower_components/polymer/polymer.js
function(name, source) {
      var s = source;
      var newEvents = s.events;
      if (newEvents) {
        newEvents.forEach(function(e) {
          if (s[e]) {
            this.eventMap[e] = s[e].bind(s);
          }
        }, this);
        this.eventSources[name] = s;
        this.eventSourceList.push(s);
      }
    }
function(name, source) {
      var s = source;
      var newEvents = s.events;
      if (newEvents) {
        newEvents.forEach(function(e) {
          if (s[e]) {
            this.eventMap[e] = s[e].bind(s);
          }
        }, this);
        this.eventSources[name] = s;
        this.eventSourceList.push(s);
      }
    }
function ( name , source ) { var s = source ; var newEvents = s . events ; if ( newEvents ) { newEvents . forEach ( function ( e ) { if ( s [ e ] ) { this . eventMap [ e ] = s [ e ] . bind ( s ) ; } } , this ) ; this . eventSources [ name ] = s ; this . eventSourceList . push ( s ) ; } }
Add a new event source that will generate pointer events.

`inSource` must contain an array of event names named `events`, and
functions with the names specified in the `events` array.
@param {string} name A name for the event source
@param {Object} source A new source of platform events.
Add a new event source that will generate pointer events .