~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/app/javascript/client.js

[r=gmb][bug=824435][no-qa][incr] Merge lazr.testing.mockio and
        lp.testing.iorecorder to become lp.testing.mockio.

Show diffs side-by-side

added added

removed removed

Lines of Context:
200
200
        on: on,
201
201
        'arguments': [entry.lp_client, url, old_on_success, false]
202
202
    };
203
 
    var io = config.io;
204
 
    if (!Y.Lang.isValue(io)) {
205
 
        io = Y.io;
206
 
    }
207
 
    io(url, y_config);
 
203
    var io_provider = Y.lp.testing.mockio.io_provider_config(config);
 
204
    io_provider.io(url, y_config);
208
205
};
209
206
 
210
207
 
1131
1128
Y.namespace('lp.client.plugins');
1132
1129
Y.lp.client.plugins.PATCHPlugin = PATCHPlugin;
1133
1130
 
1134
 
  }, "0.1", {"requires": ["plugin", "dump", "lazr.editor", "lp.client"]});
 
1131
  }, "0.1", {"requires": [
 
1132
                  "plugin", "dump", "lazr.editor", "lp.testing.mockio",
 
1133
                  "lp.client"]});