lib/assets/javascripts/up/proxy.js.coffee in upjs-rails-0.11.0 vs lib/assets/javascripts/up/proxy.js.coffee in upjs-rails-0.11.1

- old
+ new

@@ -168,10 +168,11 @@ @param {Boolean} [request.cache] Whether to use a cached response, if available. If set to `false` a network connection will always be attempted. ### ajax = (options) -> + forceCache = (options.cache == true) ignoreCache = (options.cache == false) request = u.only(options, 'url', 'method', 'data', 'selector', '_normalized') @@ -254,10 +255,11 @@ if idle() && busyEventEmitted up.bus.emit('proxy:idle') busyEventEmitted = false load = (request) -> + u.debug('Loading URL %o', request.url) up.bus.emit('proxy:load', request) promise = u.ajax(request) promise.always -> up.bus.emit('proxy:receive', request) promise @@ -321,10 +323,9 @@ up.bus.on 'framework:reset', reset preload: preload ajax: ajax get: get - set: set alias: alias clear: clear remove: remove idle: idle busy: busy