Skip to content

Commit

Permalink
chore(release): Release 1.3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Urigo committed Apr 11, 2016
1 parent 5d50f9e commit d12d943
Show file tree
Hide file tree
Showing 16 changed files with 6,110 additions and 4,558 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
<a name="1.3.10"></a>
## [1.3.10](https://github.com/Urigo/angular-meteor/compare/1.3.9...v1.3.10) (2016-04-11)


### Bug Fixes

* **#1309:** Scope.bindToContext() will be applied on scope if no context is specified, and a ([210f16a](https://github.com/Urigo/angular-meteor/commit/210f16a))
* **autorun:** destroy event listener once autorun has been stopped ([2ae0c22](https://github.com/Urigo/angular-meteor/commit/2ae0c22))



<a name="1.3.8"></a>
## [1.3.8](https://github.com/Urigo/angular-meteor/compare/1.3.7...v1.3.8) (2016-03-28)

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "angular-meteor",
"main": "./dist/angular-meteor.bundle.min.js",
"version": "1.3.9",
"version": "1.3.10",
"homepage": "https://github.com/Urigo/angular-meteor",
"authors": [
"Uri Goldshtein <[email protected]>"
Expand Down
10,163 changes: 5,833 additions & 4,330 deletions dist/angular-meteor.bundle.js

Large diffs are not rendered by default.

15 changes: 8 additions & 7 deletions dist/angular-meteor.bundle.min.js

Large diffs are not rendered by default.

35 changes: 30 additions & 5 deletions dist/angular-meteor.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
/*! angular-meteor v1.3.9 */
/*! angular-meteor v1.3.10 */
(function webpackUniversalModuleDefinition(root, factory) {
root["angularMeteor"] = factory(Package.underscore._, root["jsondiffpatch"]);
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory(require("underscore"), require("jsondiffpatch"));
else if(typeof define === 'function' && define.amd)
define(["underscore", "jsondiffpatch"], factory);
else if(typeof exports === 'object')
exports["angularMeteor"] = factory(require("underscore"), require("jsondiffpatch"));
else
root["angularMeteor"] = factory(root["_"], root["jsondiffpatch"]);
})(this, function(__WEBPACK_EXTERNAL_MODULE_3__, __WEBPACK_EXTERNAL_MODULE_22__) {
return /******/ (function(modules) { // webpackBootstrap
/******/ // The module cache
Expand Down Expand Up @@ -1891,7 +1898,8 @@ return /******/ (function(modules) { // webpackBootstrap
}

var computation = Tracker.autorun(fn, options);
this.$$autoStop(computation);
// Reset to a function that will also stop the listener we just added
computation.stop = this.$$autoStop(computation);
return computation;
};

Expand Down Expand Up @@ -1960,8 +1968,20 @@ return /******/ (function(modules) { // webpackBootstrap
return (_Meteor3 = Meteor).apply.apply(_Meteor3, args.concat([fn]));
};

// Stops a process once the scope has been destroyed
$$Core.$$autoStop = function (stoppable) {
this.$on('$destroy', stoppable.stop.bind(stoppable));
var removeListener = undefined;
var baseStop = stoppable.stop.bind(stoppable);

// Once the process has been stopped the destroy event listener will be removed
// to avoid memory leaks and unexpected behaviours
var stop = function stop() {
removeListener();
return baseStop.apply(undefined, arguments);
};

removeListener = this.$on('$destroy', stop);
return stop;
};

// Digests scope only if there is no phase at the moment
Expand All @@ -1981,6 +2001,11 @@ return /******/ (function(modules) { // webpackBootstrap

// Binds an object or a function to the provided context and digest it once it is invoked
$$Core.$bindToContext = function (context, fn) {
if (_underscore2.default.isFunction(context)) {
fn = context;
context = this;
}

return $$utils.bind(fn, context, this.$$throttledDigest.bind(this));
};

Expand Down Expand Up @@ -2443,4 +2468,4 @@ return /******/ (function(modules) { // webpackBootstrap
/***/ }
/******/ ])
});
;
;
6 changes: 3 additions & 3 deletions dist/angular-meteor.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/angular-meteor.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-meteor",
"version": "1.3.9",
"version": "1.3.10",
"main": "dist/angular-meteor.js",
"description": "Combining the simplicity and power of AngularJS and Meteor",
"keywords": [
Expand Down
95 changes: 49 additions & 46 deletions packages/angular-meteor-data/.versions
Original file line number Diff line number Diff line change
@@ -1,50 +1,53 @@
[email protected]_2
[email protected]
[email protected]
angular:[email protected]
babel-compiler@5.8.24_1
[email protected].4
[email protected].4
babel-compiler@6.6.1
[email protected].7
[email protected].7
benjamine:[email protected]_1
[email protected].4
[email protected].3
[email protected].4
[email protected].4
[email protected].4
[email protected].0
[email protected].7
[email protected].6
[email protected].7
[email protected].7
[email protected].7
[email protected].3
dburles:[email protected]
[email protected].2
[email protected].1
[email protected].2
[email protected].2
[email protected].9
[email protected].1
ecmascript@0.1.6
[email protected].6
[email protected].7
[email protected].4
[email protected].5
[email protected].5
[email protected].4
[email protected].4
[email protected].4
[email protected].4
[email protected].4
[email protected].5
[email protected].11
[email protected].4
ecmascript@0.4.2
[email protected].9
[email protected].10
[email protected].7
[email protected].8
[email protected].8
[email protected].6
[email protected].7
lai:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]_1
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
4 changes: 2 additions & 2 deletions packages/angular-meteor-data/package.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Package.describe({
name: 'angular-meteor-data',
summary: 'Everything you need to use AngularJS in your Meteor app',
version: '1.3.9_2',
version: '1.3.10',
git: 'https://github.com/Urigo/angular-meteor.git'
});

Npm.depends({
'angular-meteor': '1.3.9'
'angular-meteor': '1.3.10'
});

Package.onUse(function (api) {
Expand Down
109 changes: 56 additions & 53 deletions packages/angular-with-blaze/.versions
Original file line number Diff line number Diff line change
@@ -1,58 +1,61 @@
[email protected]
[email protected]
[email protected].9_2
[email protected].9_2
[email protected].10
[email protected].10
angular:[email protected]
babel-compiler@5.8.24_1
[email protected].4
[email protected].4
babel-compiler@6.6.1
[email protected].7
[email protected].7
benjamine:[email protected]_1
[email protected].4
[email protected].3
[email protected].1
[email protected].4
[email protected].4
[email protected].0
[email protected].2
[email protected].4
[email protected].0
[email protected].7
[email protected].6
[email protected].3
[email protected].7
[email protected].7
[email protected].3
[email protected].5
[email protected].7
[email protected].3
dburles:[email protected]
[email protected].2
[email protected].1
[email protected].2
[email protected].2
[email protected].9
[email protected].1
ecmascript@0.1.6
[email protected].6
[email protected].7
[email protected].4
[email protected].5
[email protected].5
[email protected].4
[email protected].4
[email protected].4
[email protected].4
[email protected].4
[email protected].5
[email protected].11
[email protected].4
ecmascript@0.4.2
[email protected].9
[email protected].10
[email protected].7
[email protected].8
[email protected].8
[email protected].6
[email protected].7
lai:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]_1
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
4 changes: 2 additions & 2 deletions packages/angular-with-blaze/package.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package.describe({
name: "angular-with-blaze",
summary: "Everything you need to use both AngularJS and Blaze templates in your Meteor app",
version: "1.3.9_2",
version: "1.3.10",
git: "https://github.com/Urigo/angular-meteor.git",
documentation: "../../README.md"
});
Expand All @@ -12,7 +12,7 @@ Package.onUse(function (api) {

api.imply([
'blaze-html-templates',
'[email protected].9_2',
'[email protected].10',
'[email protected]'
]);
});
Loading

0 comments on commit d12d943

Please sign in to comment.