From fd53ee7c035eb7667a0ba64ed41956eaab1b4f12 Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin Date: Wed, 3 Sep 2014 17:38:04 +0100 Subject: [PATCH] 0.1.5 --- README.md | 28 ++++++++++++++++++++++++++-- bower.json | 2 +- package.json | 2 +- 3 files changed, 28 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d9a5b7d..7168a5a 100644 --- a/README.md +++ b/README.md @@ -333,9 +333,33 @@ http://opensource.org/licenses/BSD-2-Clause Changes log ----------- -###After 0.1.4### +###0.1.5### -- Added mock for XMLHTTPRequest. +- `milo.util.request` + + - messaging support for jsonp and file requests. + - `whenRequestsCompleted` method to call callback when all requests are completed + (or if there are no pending requests) + - tests + +- `Drop` facet + + - `dragin` and `dragout` messages that only fire when mouse enters/leaves the component's element, + ignoring enter/leave of child elements (`dragenter` and `dragleave` messages are still emitted as usual). + - all messages are re-emitted on drag-drop service (`milo.util.dragDrop.service`). + +- `milo.minder` + + - `whenPropagationCompleted` method that calls passed callback when propagation is completed or + when there is no data propagation. Using this function is better than subscription + `milo.minder.once('propagationcompleted', callback)` because in the former case callback will always be called + and in the latter only if there is propagation happening. + - `isPropagating` method that allows to determine if data propagation is currently happening. + +- Added mock for XMLHTTPRequest for testing. + +- Fixed memory leaks, added `destroy` methods (`milo.destroy` and others). + Calling `milo.destroy()` will make milo unusable, only useful inside iframe that has to be disposed of. ###0.1.4### diff --git a/bower.json b/bower.json index 109f690..690b172 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "milo", - "version": "0.1.4", + "version": "0.1.5", "homepage": "https://github.com/MailOnline/milo", "authors": [ "MOL Technical " diff --git a/package.json b/package.json index a68d5c4..1874530 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mol-milo", - "version": "0.1.4", + "version": "0.1.5", "description": "Browser/nodejs reactive programming and data driven DOM manipulation with modular components.", "main": "lib/milo.js", "scripts": {