Sha256: 49eeebded50403d191f7969d40b203af2daee0a70486ac969c85b9e8c1c713e7

Contents?: true

Size: 642 Bytes

Versions: 11

Compression:

Stored size: 642 Bytes

Contents

!function ($) {
  var r = require('reqwest')
    , integrate = function (method) {
        return function () {
          var args = Array.prototype.slice.call(arguments, 0)
            , i = (this && this.length) || 0
          while (i--) args.unshift(this[i])
          return r[method].apply(null, args)
        }
      }
    , s = integrate('serialize')
    , sa = integrate('serializeArray')

  $.ender({
      ajax: r
    , serialize: r.serialize
    , serializeArray: r.serializeArray
    , toQueryString: r.toQueryString
    , ajaxSetup: r.ajaxSetup
  })

  $.ender({
      serialize: s
    , serializeArray: sa
  }, true)
}(ender);

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
wpa_cli_web-0.0.17 lib/wpa_cli_web/public/bower_components/reqwest/src/ender.js
wpa_cli_web-0.0.15 lib/wpa_cli_web/public/bower_components/reqwest/src/ender.js
wpa_cli_web-0.0.14 lib/wpa_cli_web/public/bower_components/reqwest/src/ender.js
wpa_cli_web-0.0.13 lib/wpa_cli_web/public/bower_components/reqwest/src/ender.js
wpa_cli_web-0.0.12 lib/wpa_cli_web/public/bower_components/reqwest/src/ender.js
wpa_cli_web-0.0.11 lib/wpa_cli_web/public/bower_components/reqwest/src/ender.js
wpa_cli_web-0.0.10 lib/wpa_cli_web/public/bower_components/reqwest/src/ender.js
wpa_cli_web-0.0.9 lib/wpa_cli_web/public/bower_components/reqwest/src/ender.js
wpa_cli_web-0.0.8 lib/wpa_cli_web/public/bower_components/reqwest/src/ender.js
wpa_cli_web-0.0.7 lib/wpa_cli_web/public/bower_components/reqwest/src/ender.js
wpa_cli_web-0.0.6 lib/wpa_cli_web/public/bower_components/reqwest/src/ender.js