Sha256: 17da981731e983da9aa03f9541202b827a4fa8226729a686d96335e4e15a3e41

Contents?: true

Size: 190 Bytes

Versions: 1

Compression:

Stored size: 190 Bytes

Contents

class Obj
  @toURIParams: (obj) ->
    str = ""
    for key, val of obj
      if str isnt ""
        str += "&"
      str += (key + "=" + encodeURIComponent(val))
    str

export default Obj

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
loco-rails-3.0.0 test/dummy/node_modules/loco-js-model/src/utils/obj.coffee