Skip to content

Commit d12d943

Browse files
committed
chore(release): Release 1.3.10
1 parent 5d50f9e commit d12d943

16 files changed

+6110
-4558
lines changed

CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
<a name="1.3.10"></a>
2+
## [1.3.10](https://github.com/Urigo/angular-meteor/compare/1.3.9...v1.3.10) (2016-04-11)
3+
4+
5+
### Bug Fixes
6+
7+
* **#1309:** Scope.bindToContext() will be applied on scope if no context is specified, and a ([210f16a](https://github.com/Urigo/angular-meteor/commit/210f16a))
8+
* **autorun:** destroy event listener once autorun has been stopped ([2ae0c22](https://github.com/Urigo/angular-meteor/commit/2ae0c22))
9+
10+
11+
112
<a name="1.3.8"></a>
213
## [1.3.8](https://github.com/Urigo/angular-meteor/compare/1.3.7...v1.3.8) (2016-03-28)
314

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "angular-meteor",
33
"main": "./dist/angular-meteor.bundle.min.js",
4-
"version": "1.3.9",
4+
"version": "1.3.10",
55
"homepage": "https://github.com/Urigo/angular-meteor",
66
"authors": [
77
"Uri Goldshtein <[email protected]>"

dist/angular-meteor.bundle.js

+5,833-4,330
Large diffs are not rendered by default.

dist/angular-meteor.bundle.min.js

+8-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angular-meteor.js

+30-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
1-
/*! angular-meteor v1.3.9 */
1+
/*! angular-meteor v1.3.10 */
22
(function webpackUniversalModuleDefinition(root, factory) {
3-
root["angularMeteor"] = factory(Package.underscore._, root["jsondiffpatch"]);
3+
if(typeof exports === 'object' && typeof module === 'object')
4+
module.exports = factory(require("underscore"), require("jsondiffpatch"));
5+
else if(typeof define === 'function' && define.amd)
6+
define(["underscore", "jsondiffpatch"], factory);
7+
else if(typeof exports === 'object')
8+
exports["angularMeteor"] = factory(require("underscore"), require("jsondiffpatch"));
9+
else
10+
root["angularMeteor"] = factory(root["_"], root["jsondiffpatch"]);
411
})(this, function(__WEBPACK_EXTERNAL_MODULE_3__, __WEBPACK_EXTERNAL_MODULE_22__) {
512
return /******/ (function(modules) { // webpackBootstrap
613
/******/ // The module cache
@@ -1891,7 +1898,8 @@ return /******/ (function(modules) { // webpackBootstrap
18911898
}
18921899

18931900
var computation = Tracker.autorun(fn, options);
1894-
this.$$autoStop(computation);
1901+
// Reset to a function that will also stop the listener we just added
1902+
computation.stop = this.$$autoStop(computation);
18951903
return computation;
18961904
};
18971905

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

1971+
// Stops a process once the scope has been destroyed
19631972
$$Core.$$autoStop = function (stoppable) {
1964-
this.$on('$destroy', stoppable.stop.bind(stoppable));
1973+
var removeListener = undefined;
1974+
var baseStop = stoppable.stop.bind(stoppable);
1975+
1976+
// Once the process has been stopped the destroy event listener will be removed
1977+
// to avoid memory leaks and unexpected behaviours
1978+
var stop = function stop() {
1979+
removeListener();
1980+
return baseStop.apply(undefined, arguments);
1981+
};
1982+
1983+
removeListener = this.$on('$destroy', stop);
1984+
return stop;
19651985
};
19661986

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

19822002
// Binds an object or a function to the provided context and digest it once it is invoked
19832003
$$Core.$bindToContext = function (context, fn) {
2004+
if (_underscore2.default.isFunction(context)) {
2005+
fn = context;
2006+
context = this;
2007+
}
2008+
19842009
return $$utils.bind(fn, context, this.$$throttledDigest.bind(this));
19852010
};
19862011

@@ -2443,4 +2468,4 @@ return /******/ (function(modules) { // webpackBootstrap
24432468
/***/ }
24442469
/******/ ])
24452470
});
2446-
;
2471+
;

dist/angular-meteor.min.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angular-meteor.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-meteor",
3-
"version": "1.3.9",
3+
"version": "1.3.10",
44
"main": "dist/angular-meteor.js",
55
"description": "Combining the simplicity and power of AngularJS and Meteor",
66
"keywords": [
+49-46
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,53 @@
1-
1+
2+
23
3-
babel-compiler@5.8.24_1
4-
5-
4+
babel-compiler@6.6.1
5+
6+
67
benjamine:[email protected]_1
7-
8-
9-
10-
11-
12-
8+
9+
10+
11+
12+
13+
1314
14-
15-
16-
17-
18-
19-
20-
ecmascript@0.1.6
21-
22-
23-
24-
25-
26-
27-
15+
16+
17+
18+
19+
20+
21+
ecmascript@0.4.2
22+
23+
24+
25+
26+
27+
28+
2829
29-
30-
31-
32-
33-
34-
35-
36-
37-
38-
39-
40-
41-
42-
43-
44-
45-
46-
47-
48-
49-
50-
30+
31+
32+
33+
34+
35+
36+
37+
38+
39+
40+
41+
42+
43+
44+
45+
46+
47+
48+
49+
50+
51+
52+
53+

packages/angular-meteor-data/package.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
Package.describe({
22
name: 'angular-meteor-data',
33
summary: 'Everything you need to use AngularJS in your Meteor app',
4-
version: '1.3.9_2',
4+
version: '1.3.10',
55
git: 'https://github.com/Urigo/angular-meteor.git'
66
});
77

88
Npm.depends({
9-
'angular-meteor': '1.3.9'
9+
'angular-meteor': '1.3.10'
1010
});
1111

1212
Package.onUse(function (api) {

packages/angular-with-blaze/.versions

+56-53
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,61 @@
1+
12
2-
3-
3+
4+
45
5-
babel-compiler@5.8.24_1
6-
7-
6+
babel-compiler@6.6.1
7+
8+
89
benjamine:[email protected]_1
9-
10-
11-
12-
13-
14-
15-
16-
17-
10+
11+
12+
13+
14+
15+
16+
17+
18+
1819
19-
20-
21-
22-
23-
24-
25-
ecmascript@0.1.6
26-
27-
28-
29-
30-
31-
32-
20+
21+
22+
23+
24+
25+
26+
ecmascript@0.4.2
27+
28+
29+
30+
31+
32+
33+
3334
34-
35-
36-
37-
38-
39-
40-
41-
42-
43-
44-
45-
46-
47-
48-
49-
50-
51-
52-
53-
54-
55-
56-
57-
58-
35+
36+
37+
38+
39+
40+
41+
42+
43+
44+
45+
46+
47+
48+
49+
50+
51+
52+
53+
54+
55+
56+
57+
58+
59+
60+
61+

packages/angular-with-blaze/package.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package.describe({
22
name: "angular-with-blaze",
33
summary: "Everything you need to use both AngularJS and Blaze templates in your Meteor app",
4-
version: "1.3.9_2",
4+
version: "1.3.10",
55
git: "https://github.com/Urigo/angular-meteor.git",
66
documentation: "../../README.md"
77
});
@@ -12,7 +12,7 @@ Package.onUse(function (api) {
1212

1313
api.imply([
1414
'blaze-html-templates',
15-
15+
1616
1717
]);
1818
});

0 commit comments

Comments
 (0)