Comparing version 0.7.0 to 0.8.0
@@ -21,4 +21,9 @@ /* This is the BuckleScript configuration file. Note that this is a comment; | ||
"type": "dev" | ||
}, | ||
{ | ||
"dir": "scripts", | ||
"type": "dev" | ||
} | ||
] | ||
], | ||
"refmt": 3 | ||
} |
{ | ||
"name": "bs-webapi", | ||
"version": "0.7.0", | ||
"version": "0.8.0", | ||
"description": "Reason + BuckleScript bindings to DOM", | ||
@@ -11,2 +11,8 @@ "repository": { | ||
"main": "index.js", | ||
"keywords": [ | ||
"reason", | ||
"bucklescript", | ||
"web", | ||
"dom" | ||
], | ||
"scripts": { | ||
@@ -18,7 +24,11 @@ "build": "bsb -make-world", | ||
}, | ||
"files": [ | ||
"src/", | ||
"bsconfig.json" | ||
], | ||
"author": "chenglou", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"bs-platform": "^1.9.2" | ||
"bs-platform": "^2.1.0" | ||
} | ||
} |
@@ -5,2 +5,7 @@ # bs-webapi | ||
[![npm](https://img.shields.io/npm/v/bs-webapi.svg)](https://npmjs.org/bs-webapi) | ||
[![Travis](https://img.shields.io/travis/reasonml-community/bs-webapi-incubator/master.svg)](https://travis-ci.org/reasonml-community/bs-webapi-incubator) | ||
[![Issues](https://img.shields.io/github/issues/reasonml-community/bs-webapi-incubator.svg)](https://github.com/reasonml-community/bs-webapi-incubator/issues) | ||
[![Last Commit](https://img.shields.io/github/last-commit/reasonml-community/bs-webapi-incubator.svg)](https://github.com/reasonml-community/bs-webapi-incubator/commits/master) | ||
The bindings are currently undocumented, but as the code mostly just consists of external declarations with type signatures, the code itself is fairly self-documenting. The bindings generally also correspond very well to the Web APIs they bind to, so using MDN along with GitHub should go a long way. | ||
@@ -23,3 +28,3 @@ | ||
See the [examples folder](https://github.com/reasonml-community/bs-webapi-incubator/tree/eb5f71847848a3e896733017fde00eee7fb5edf5/examples) | ||
See the [examples folder](https://github.com/reasonml-community/bs-webapi-incubator/blob/master/examples/) | ||
@@ -67,2 +72,12 @@ ## Some notes on the DOM API | ||
### 0.8.0 | ||
* Added `EventTarget.unsafeAsDocument`, `EventTarget.unsafeAsElement` and `EventTarget.unsafeAsWindow` functions | ||
* Removed deprecated `Bs_webapi` module` | ||
* Added event-specific listener APIs to `EventTarget`, e.g. `EventTarget.addMouseMoveListener(mouseEvent => ...)` | ||
* Added `requestCancellableAnimationFrame` and `cancelAnimationFrame` | ||
* Fixed msising `@bs.return` annotations causing type unsoundness | ||
* Fixed typo in encoding of `insertPosition` type | ||
* Added `Dom.HtmlImageElement`, `File` and `File.Url` | ||
* Fixed `HtmlElement.offsetParent` returning `int` instead of `Dom.Element` | ||
### 0.7.0 | ||
@@ -69,0 +84,0 @@ * Added `Webapi` module, Deprecated `Bs_webapi` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
28
93
140590
82