@typedef {Object} PushAppObject
@property {String} id
@property {String} name
@property {String} environment
 

@param options
@extends ActionAbstract
@constructor
544344
function PushApp(options) {
    ActionFactoryAbstract.call(this, options);
    this.device = new PushAppDevice(options);
    this.channel = new PushAppChannel(options);
    this.analytics = new PushAppAnalytics(options);
}
559591
function idOptions (id, options) {
  const _key = options._key == null
    ? '[' + id + ']'
    : options._key + '[' + id + ']'
  return Object.assign({}, options, { _key: _key })
}
629725
function(uuid, env) {

    app.status('Pushing files.');

    // Hack together an rsync command
    var envSite = [env, uuid].join('.');
    var fileBox = envSite + '@appserver.' + envSite + '.drush.in:files/';
    return commands.rsync('/media/', fileBox);

  }
1320202
function commandPluck(context, componentIDs, attributes, options) {
    // resolve the components to ids
    let result;
    let entitySet;

    // if( true ){ log.debug('pluck> ' + stringify(_.rest(arguments))); }

    attributes = context.valueOf(attributes, true);
    attributes = Array.isArray(attributes) ? attributes : [attributes];
    options = context.valueOf(options, true);

    entitySet = context.resolveEntitySet();

    // resolve the component ids
    // componentIDs = context.valueOf(componentIDs,true);
    // if( componentIDs ){
    //     componentIDs = context.registry.getIID( componentIDs, true );
    // }

    result = pluckEntitySet(
        context.registry,
        entitySet,
        componentIDs,
        attributes
    );

    if (options && options.unique) {
        result = arrayUnique(result);
    }

    return context.last = [VALUE, result];
}
636838
function (entity, action, options) {
                var ret = {},
                    data = entity.compose(action, options),
                    schemaDefinition,
                    schemaType,
                    isModel = entity instanceof Model,
                    factory = entity.factory;

                for (var key in entity.schema) {
                    if (entity.schema.hasOwnProperty(key) && (!isModel || (!options || !options.includeInIndex || _.contains(options.includeInIndex, key)))) {
                        schemaDefinition = entity.schema[key];
                        schemaType = schemaDefinition.type;


                        var value;
                        if (data[key] && schemaDefinition.isReference && schemaType.classof && schemaType.classof(Entity) && !schemaType.classof(Model)) {
                            value = {};
                            value[schemaType.prototype.idField] = data[key].identifier();
                        } else {
                            value = this._getCompositionValue(data[key], key, action, options, entity);
                        }
                        if (value !== undefined) {
                            ret[this._getReferenceKey(key, schemaType)] = value;
                        }
                    }
                }
                return ret;
            }
1077706
function( options ){
      var array = $$.util.getMap(options);

      if( array == null ){ // if empty, put initial array
        $$.util.setMap( $.extend({}, options, {
          value: [ options.value ]
        }) );
      } else {
        array.push( options.value );
      }
    }
725009
def propagate_ids(cls, obj, match_id, new_id, applied_keys, backend=None):
        
        applied = []
        def propagate(o):
            if o.id == match_id or (o.__class__.__name__ == 'DynamicMap'):
                setattr(o, 'id', new_id)
                applied.append(o)
        obj.traverse(propagate, specs=set(applied_keys) | {'DynamicMap'})

        # Clean up the custom tree if it was not applied
        if not new_id in Store.custom_options(backend=backend):
            raise AssertionError("New option id %d does not match any "
                                 "option trees in Store.custom_options."
                                 % new_id)
        return applied
92732
function pushState(stack, type, instance) {
  stack.type = type;
  stack.children = [];
  stack.instance = instance || stack;
}
968332
function pushListener(event) {
    var jsonString = event.data && event.data.text() ? event.data.text() : null;

    if (!jsonString) {
      console.log('Leanplum: Push received without payload, skipping display.');
      return;
    }

    // noinspection JSCheckFunctionSignatures
    var options = JSON.parse(jsonString);

    /** @namespace options.title The title of the push notification. **/
    /** @namespace options.tag The id of the push notification **/
    if (!options || !options.title || !options.tag) {
      console.log('Leanplum: No options, title or tag/id received, skipping ' + 'display.');
      return;
    }

    // Extract open action url. We only support open url action for now.
    /** @namespace options.data.openAction The openAction of the push notification. **/
    if (options.data && options.data.openAction && options.data.openAction.hasOwnProperty(ACTION_NAME_KEY) && options.data.openAction[ACTION_NAME_KEY] === OPEN_URL_ACTION && options.data.openAction.hasOwnProperty(ARG_URL)) {
      openActions[options.tag] = options.data.openAction[ARG_URL];
    }

    // Extract title and delete from options.
    var title = options.title;
    Reflect.deleteProperty(options, 'title');
    /** @namespace self.registration **/
    /** @namespace self.registration.showNotification **/
    event.waitUntil(self.registration.showNotification(title, options));
  }
116069
function(containerID, options) {
        OpenLayers.Renderer.prototype.initialize.apply(this, arguments);
        this.root = document.createElement("canvas");
        this.container.appendChild(this.root);
        this.canvas = this.root.getContext("2d");
        this.features = {};
        if (this.hitDetection) {
            this.hitCanvas = document.createElement("canvas");
            this.hitContext = this.hitCanvas.getContext("2d");
        }
    }
1233415
function dispatch(action, payload) {
    if (process.env.NODE_ENV !== 'production' && dispatching) {
      throw new Error(`'${action.toString()}' was dispatched while '${dispatching.toString()}' was still updating. Updaters should be pure functions and must not dispatch actions.`);
    }
    try {
      dispatching = action;
      state = updater(state, action, payload);
      if (process.env.NODE_ENV !== 'production' && debug) {
        console.info(state);
      }
    } finally {
      dispatching = null;
    }
    updateUI();
  }
414916
function appData  (store, type, route, payload) {
    let action = {
        type : type,
        route: route,
        payload
    };
    store.dispatch(action);
}
1273901
function callMiddlewares(actionName, actionData, done) {
    let store = this;
    let index = -1;
    /**
     * Call next middleware or done
     * @function next
     * @param {*} actionData - An action data
     */
    function next(actionData) {
        index++;
        if(index === store.middlewares.length) {
            done(actionData);
        } else {
            store.middlewares[index](store, actionName, actionData, next);
        }
    }
    next(actionData);
}
402698
function(backend, name, options) {
        options = _.extend({keyPath: 'id'}, options || {});
        this.options = options;

        this.backend = backend;
        this.name = name;
        this.keyPath = this.options.keyPath;
    }
1203122
function o_destination( $id, $action, $options = '' )
    {
        if ( $action != 'new' )
        {
            $o =& $this->objects[$id];
        }
        switch ( $action )
        {
            case 'new':
                $this->objects[$id] = array( 't' => 'destination', 'info' => array() );
                $tmp = '';
                switch ( $options['type'] )
                {
                case 'XYZ':
                case 'FitR':
                    $tmp =  ' ' . sprintf( '%.3F', $options['p3'] ) . $tmp;
                case 'FitV':
                case 'FitBH':
                case 'FitBV':
                    $tmp =  ' ' . sprintf( '%.3F', $options['p2'] ) . $tmp;
                case 'Fit':
                case 'FitH':
                    $tmp =  ' ' . sprintf( '%.3F', $options['p1'] ) . $tmp;
                case 'FitB':
                    $tmp = $options['type'] . $tmp;
                    $this->objects[$id]['info']['string'] = $tmp;
                    $this->objects[$id]['info']['page'] = $options['page'];
                }break;

            case 'out':
                $tmp = $o['info'];
                $res = "\n" . $id . " 0 obj\n" . '[' . $tmp['page'] . ' 0 R /' . $tmp['string'] . "]\nendobj\n";
                return $res;
                break;
        }
    }
898576
@SuppressWarnings("unused")
    private void opSetOptionPush() {
        // option = code[ip++]; // final for now
        pushAlt(ip, s, sprev, pkeep);
        ip += OPSize.SET_OPTION + OPSize.FAIL;
    }
543376
public void pushUlterior(String key, Object value) {
        assertArgumentNotNull("key", key);
        assertArgumentNotNull("value", value);
        postcard.pushUlterior(key, value);
    }