Skip to content
Snippets Groups Projects
Select Git revision
  • 80b9a3df501e773c6e63e954bd3856d05d7e191e
  • main default protected
  • release/1.1
  • encrypt_comments
  • mnemonic_dewif
  • authors_rules
  • 0.14
  • rtd
  • 1.2.1 protected
  • 1.2.0 protected
  • 1.1.1 protected
  • 1.1.0 protected
  • 1.0.0 protected
  • 1.0.0rc1 protected
  • 1.0.0rc0 protected
  • 1.0.0-rc protected
  • 0.62.0 protected
  • 0.61.0 protected
  • 0.60.1 protected
  • 0.58.1 protected
  • 0.60.0 protected
  • 0.58.0 protected
  • 0.57.0 protected
  • 0.56.0 protected
  • 0.55.1 protected
  • 0.55.0 protected
  • 0.54.3 protected
  • 0.54.2 protected
28 results

request_web_socket_block.py

Blame
  • ionic.bundle.js 1.86 MiB
    /*!
     * ionic.bundle.js is a concatenation of:
     * ionic.js, angular.js, angular-animate.js,
     * angular-sanitize.js, angular-ui-router.js,
     * and ionic-angular.js
     */
    
    /*!
     * Copyright 2014 Drifty Co.
     * http://drifty.com/
     *
     * Ionic, v1.0.1
     * A powerful HTML5 mobile app framework.
     * http://ionicframework.com/
     *
     * By @maxlynch, @benjsperry, @adamdbradley <3
     *
     * Licensed under the MIT license. Please see LICENSE for more information.
     *
     */
    
    (function() {
    
    // Create global ionic obj and its namespaces
    // build processes may have already created an ionic obj
    window.ionic = window.ionic || {};
    window.ionic.views = {};
    window.ionic.version = '1.0.1';
    
    (function (ionic) {
    
      ionic.DelegateService = function(methodNames) {
    
        if (methodNames.indexOf('$getByHandle') > -1) {
          throw new Error("Method '$getByHandle' is implicitly added to each delegate service. Do not list it as a method.");
        }
    
        function trueFn() { return true; }
    
        return ['$log', function($log) {
    
          /*
           * Creates a new object that will have all the methodNames given,
           * and call them on the given the controller instance matching given
           * handle.
           * The reason we don't just let $getByHandle return the controller instance
           * itself is that the controller instance might not exist yet.
           *
           * We want people to be able to do
           * `var instance = $ionicScrollDelegate.$getByHandle('foo')` on controller
           * instantiation, but on controller instantiation a child directive
           * may not have been compiled yet!
           *
           * So this is our way of solving this problem: we create an object
           * that will only try to fetch the controller with given handle
           * once the methods are actually called.
           */
          function DelegateInstance(instances, handle) {
            this._instances = instances;
            this.handle = handle;
          }
          methodNames.forEach(function(methodName) {
            DelegateInstance.prototype[methodName] = instanceMethodCaller(methodName);
          });
    
    
          /**
           * The delegate service (eg $ionicNavBarDelegate) is just an instance
           * with a non-defined handle, a couple extra methods for registering
           * and narrowing down to a specific handle.