Skip to content

Commit d12d943

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

File tree

16 files changed

+6110
-4558
lines changed

16 files changed

+6110
-4558
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
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

Lines changed: 1 addition & 1 deletion
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 <uri.goldshtein@gmail.com>"

dist/angular-meteor.bundle.js

Lines changed: 5833 additions & 4330 deletions
Large diffs are not rendered by default.

dist/angular-meteor.bundle.min.js

Lines changed: 8 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angular-meteor.js

Lines changed: 30 additions & 5 deletions
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

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angular-meteor.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
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": [
Lines changed: 49 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,53 @@
1-
angular-meteor-data@1.3.9_2
1+
allow-deny@1.0.3
2+
angular-meteor-data@1.3.10
23
angular:angular@1.4.8
3-
babel-compiler@5.8.24_1
4-
babel-runtime@0.1.4
5-
base64@1.0.4
4+
babel-compiler@6.6.1
5+
babel-runtime@0.1.7
6+
base64@1.0.7
67
benjamine:jsondiffpatch@0.1.38_1
7-
binary-heap@1.0.4
8-
blaze@2.1.3
9-
blaze-tools@1.0.4
10-
boilerplate-generator@1.0.4
11-
callback-hook@1.0.4
12-
check@1.1.0
8+
binary-heap@1.0.7
9+
blaze@2.1.6
10+
blaze-tools@1.0.7
11+
boilerplate-generator@1.0.7
12+
callback-hook@1.0.7
13+
check@1.1.3
1314
dburles:mongo-collection-instances@0.3.4
14-
ddp@1.2.2
15-
ddp-client@1.2.1
16-
ddp-common@1.2.2
17-
ddp-server@1.2.2
18-
deps@1.0.9
19-
diff-sequence@1.0.1
20-
ecmascript@0.1.6
21-
ecmascript-runtime@0.2.6
22-
ejson@1.0.7
23-
geojson-utils@1.0.4
24-
html-tools@1.0.5
25-
htmljs@1.0.5
26-
id-map@1.0.4
27-
jquery@1.11.4
15+
ddp@1.2.4
16+
ddp-client@1.2.4
17+
ddp-common@1.2.4
18+
ddp-server@1.2.5
19+
deps@1.0.11
20+
diff-sequence@1.0.4
21+
ecmascript@0.4.2
22+
ecmascript-runtime@0.2.9
23+
ejson@1.0.10
24+
geojson-utils@1.0.7
25+
html-tools@1.0.8
26+
htmljs@1.0.8
27+
id-map@1.0.6
28+
jquery@1.11.7
2829
lai:collection-extensions@0.1.4
29-
logging@1.0.8
30-
meteor@1.1.10
31-
minimongo@1.0.10
32-
mongo@1.1.3
33-
mongo-id@1.0.1
34-
npm-mongo@1.4.39_1
35-
observe-sequence@1.0.7
36-
ordered-dict@1.0.4
37-
promise@0.5.1
38-
random@1.0.5
39-
reactive-dict@1.1.3
40-
reactive-var@1.0.6
41-
retry@1.0.4
42-
routepolicy@1.0.6
43-
session@1.1.1
44-
spacebars@1.0.7
45-
spacebars-compiler@1.0.7
46-
tracker@1.0.9
47-
ui@1.0.8
48-
underscore@1.0.4
49-
webapp@1.2.3
50-
webapp-hashing@1.0.5
30+
logging@1.0.11
31+
meteor@1.1.13
32+
minimongo@1.0.13
33+
modules@0.5.2
34+
modules-runtime@0.6.2
35+
mongo@1.1.6
36+
mongo-id@1.0.3
37+
npm-mongo@1.4.42
38+
observe-sequence@1.0.10
39+
ordered-dict@1.0.6
40+
promise@0.6.6
41+
random@1.0.8
42+
reactive-dict@1.1.6
43+
reactive-var@1.0.8
44+
retry@1.0.6
45+
routepolicy@1.0.9
46+
session@1.1.4
47+
spacebars@1.0.10
48+
spacebars-compiler@1.0.10
49+
tracker@1.0.12
50+
ui@1.0.10
51+
underscore@1.0.7
52+
webapp@1.2.7
53+
webapp-hashing@1.0.8

packages/angular-meteor-data/package.js

Lines changed: 2 additions & 2 deletions
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

Lines changed: 56 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,61 @@
1+
allow-deny@1.0.3
12
angular-blaze-templates-compiler@0.0.1
2-
angular-meteor-data@1.3.9_2
3-
angular-with-blaze@1.3.9_2
3+
angular-meteor-data@1.3.10
4+
angular-with-blaze@1.3.10
45
angular:angular@1.4.8
5-
babel-compiler@5.8.24_1
6-
babel-runtime@0.1.4
7-
base64@1.0.4
6+
babel-compiler@6.6.1
7+
babel-runtime@0.1.7
8+
base64@1.0.7
89
benjamine:jsondiffpatch@0.1.38_1
9-
binary-heap@1.0.4
10-
blaze@2.1.3
11-
blaze-html-templates@1.0.1
12-
blaze-tools@1.0.4
13-
boilerplate-generator@1.0.4
14-
caching-compiler@1.0.0
15-
caching-html-compiler@1.0.2
16-
callback-hook@1.0.4
17-
check@1.1.0
10+
binary-heap@1.0.7
11+
blaze@2.1.6
12+
blaze-html-templates@1.0.3
13+
blaze-tools@1.0.7
14+
boilerplate-generator@1.0.7
15+
caching-compiler@1.0.3
16+
caching-html-compiler@1.0.5
17+
callback-hook@1.0.7
18+
check@1.1.3
1819
dburles:mongo-collection-instances@0.3.4
19-
ddp@1.2.2
20-
ddp-client@1.2.1
21-
ddp-common@1.2.2
22-
ddp-server@1.2.2
23-
deps@1.0.9
24-
diff-sequence@1.0.1
25-
ecmascript@0.1.6
26-
ecmascript-runtime@0.2.6
27-
ejson@1.0.7
28-
geojson-utils@1.0.4
29-
html-tools@1.0.5
30-
htmljs@1.0.5
31-
id-map@1.0.4
32-
jquery@1.11.4
20+
ddp@1.2.4
21+
ddp-client@1.2.4
22+
ddp-common@1.2.4
23+
ddp-server@1.2.5
24+
deps@1.0.11
25+
diff-sequence@1.0.4
26+
ecmascript@0.4.2
27+
ecmascript-runtime@0.2.9
28+
ejson@1.0.10
29+
geojson-utils@1.0.7
30+
html-tools@1.0.8
31+
htmljs@1.0.8
32+
id-map@1.0.6
33+
jquery@1.11.7
3334
lai:collection-extensions@0.1.4
34-
logging@1.0.8
35-
meteor@1.1.10
36-
minifiers@1.1.7
37-
minimongo@1.0.10
38-
mongo@1.1.3
39-
mongo-id@1.0.1
40-
npm-mongo@1.4.39_1
41-
observe-sequence@1.0.7
42-
ordered-dict@1.0.4
43-
promise@0.5.1
44-
random@1.0.5
45-
reactive-dict@1.1.3
46-
reactive-var@1.0.6
47-
retry@1.0.4
48-
routepolicy@1.0.6
49-
session@1.1.1
50-
spacebars@1.0.7
51-
spacebars-compiler@1.0.7
52-
templating@1.1.5
53-
templating-tools@1.0.0
54-
tracker@1.0.9
55-
ui@1.0.8
56-
underscore@1.0.4
57-
webapp@1.2.3
58-
webapp-hashing@1.0.5
35+
logging@1.0.11
36+
meteor@1.1.13
37+
minifier-js@1.1.10
38+
minimongo@1.0.13
39+
modules@0.5.2
40+
modules-runtime@0.6.2
41+
mongo@1.1.6
42+
mongo-id@1.0.3
43+
npm-mongo@1.4.42
44+
observe-sequence@1.0.10
45+
ordered-dict@1.0.6
46+
promise@0.6.6
47+
random@1.0.8
48+
reactive-dict@1.1.6
49+
reactive-var@1.0.8
50+
retry@1.0.6
51+
routepolicy@1.0.9
52+
session@1.1.4
53+
spacebars@1.0.10
54+
spacebars-compiler@1.0.10
55+
templating@1.1.8
56+
templating-tools@1.0.3
57+
tracker@1.0.12
58+
ui@1.0.10
59+
underscore@1.0.7
60+
webapp@1.2.7
61+
webapp-hashing@1.0.8

packages/angular-with-blaze/package.js

Lines changed: 2 additions & 2 deletions
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-
'angular-meteor-data@1.3.9_2',
15+
'angular-meteor-data@1.3.10',
1616
'angular-blaze-templates-compiler@0.0.1'
1717
]);
1818
});

0 commit comments

Comments
 (0)