Skip to content

Commit 3d8f807

Browse files
committed
chore(release): Release 1.3.11
1 parent 18cd117 commit 3d8f807

File tree

13 files changed

+253
-232
lines changed

13 files changed

+253
-232
lines changed

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.10",
4+
"version": "1.3.11",
55
"homepage": "https://github.com/Urigo/angular-meteor",
66
"authors": [
77
"Uri Goldshtein <[email protected]>"

dist/angular-meteor.js

+20-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! angular-meteor v1.3.10 */
1+
/*! angular-meteor v1.3.11 */
22
(function webpackUniversalModuleDefinition(root, factory) {
33
if(typeof exports === 'object' && typeof module === 'object')
44
module.exports = factory(require("underscore"), require("jsondiffpatch"));
@@ -1909,6 +1909,12 @@ return /******/ (function(modules) { // webpackBootstrap
19091909
fn = this.$bindToContext($Mixer.caller, fn || angular.noop);
19101910
cb = cb ? this.$bindToContext($Mixer.caller, cb) : angular.noop;
19111911

1912+
// Additional callbacks specific for this library
1913+
// onStart - right after Meteor.subscribe()
1914+
var hooks = {
1915+
onStart: angular.noop
1916+
};
1917+
19121918
if (!_underscore2.default.isString(subName)) {
19131919
throw Error('argument 1 must be a string');
19141920
}
@@ -1919,6 +1925,16 @@ return /******/ (function(modules) { // webpackBootstrap
19191925
throw Error('argument 3 must be a function or an object');
19201926
}
19211927

1928+
if (_underscore2.default.isObject(cb)) {
1929+
for (var hook in hooks) {
1930+
if (hooks.hasOwnProperty(hook) && cb[hook]) {
1931+
// Don't use any of additional callbacks in Meteor.subscribe
1932+
hooks[hook] = cb[hook];
1933+
delete cb[hook];
1934+
}
1935+
}
1936+
}
1937+
19221938
var result = {};
19231939

19241940
var computation = this.autorun(function () {
@@ -1932,6 +1948,9 @@ return /******/ (function(modules) { // webpackBootstrap
19321948
}
19331949

19341950
var subscription = (_Meteor = Meteor).subscribe.apply(_Meteor, [subName].concat(_toConsumableArray(args), [cb]));
1951+
1952+
hooks.onStart();
1953+
19351954
result.ready = subscription.ready.bind(subscription);
19361955
result.subscriptionId = subscription.subscriptionId;
19371956
});

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.10",
3+
"version": "1.3.11",
44
"main": "dist/angular-meteor.js",
55
"description": "Combining the simplicity and power of AngularJS and Meteor",
66
"keywords": [
+49-49
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,53 @@
1-
2-
1+
2+
33
4-
5-
6-
4+
5+
6+
77
benjamine:[email protected]_1
8-
9-
10-
11-
12-
13-
check@1.1.3
8+
9+
10+
11+
12+
13+
check@1.2.1
1414
15-
16-
17-
18-
19-
20-
21-
22-
23-
24-
25-
26-
27-
28-
15+
16+
17+
18+
19+
20+
21+
22+
23+
24+
25+
26+
27+
28+
2929
30-
31-
32-
33-
modules@0.5.2
34-
35-
36-
37-
38-
39-
40-
41-
42-
43-
44-
45-
46-
47-
48-
49-
50-
51-
52-
53-
30+
31+
32+
33+
modules@0.6.1
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.10',
4+
version: '1.3.11',
55
git: 'https://github.com/Urigo/angular-meteor.git'
66
});
77

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

1212
Package.onUse(function (api) {

packages/angular-with-blaze/.versions

+56-56
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,61 @@
1-
1+
22
3-
4-
3+
4+
55
6-
7-
8-
6+
7+
8+
99
benjamine:[email protected]_1
10-
11-
12-
13-
14-
15-
16-
17-
18-
check@1.1.3
10+
11+
12+
13+
14+
15+
16+
17+
18+
check@1.2.1
1919
20-
21-
22-
23-
24-
25-
26-
27-
28-
29-
30-
31-
32-
33-
20+
21+
22+
23+
24+
25+
26+
27+
28+
29+
30+
31+
32+
33+
3434
35-
36-
37-
38-
39-
modules@0.5.2
40-
41-
42-
43-
44-
45-
46-
47-
48-
49-
50-
51-
52-
53-
54-
55-
56-
57-
58-
59-
60-
61-
35+
36+
37+
38+
39+
modules@0.6.1
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.10",
4+
version: "1.3.11",
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)