0.1.3 • Published 4 years ago

qmamu-suggestion v0.1.3

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

Installation

You can install with npm.

npm install qmamu-suggestion

Promise Polyfill for IE

IE8/9/10/11 does not support ES6 Promise, run this to polyfill the global environment at the beginning of your application.

require("es6-promise").polyfill();

Usage

JSONP only supports GET method, same as qmamu-suggestion.

Fetch JSONP in simple way

fetchSuggestion("/users.json")
  .then(function (response) {
    return response.json();
  })
  .then(function (json) {
    console.log("parsed json", json);
  })
  .catch(function (ex) {
    console.log("parsing failed", ex);
  });
0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.23

4 years ago

0.0.22

4 years ago

0.0.21

4 years ago

0.0.20

4 years ago

0.0.19

4 years ago

0.0.18

4 years ago

0.0.17

4 years ago

0.0.16

4 years ago

0.0.15

4 years ago

0.0.14

4 years ago

0.0.13

4 years ago

0.0.12

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago