-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbugblaze.js
More file actions
47 lines (33 loc) · 968 Bytes
/
bugblaze.js
File metadata and controls
47 lines (33 loc) · 968 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
if (Meteor.isClient) {
Template.outer_outer.events({
'click #show_button': function () {
"use strict";
Session.set("show_outer",true);
Session.set("void_session",true);
}
});
Template.outer_outer.helper = function(){
"use strict";
console.log("outer_outer helper called");
};
Template.outer_outer.show_outer = function(){
"use strict";
return Session.get("show_outer");
};
Template.outer.helper = function(){
"use strict";
console.log("outer helper called");
};
Template.inner.helper = function(){
"use strict";
console.log("inner helper called");
Session.get("void_session");
};
Template.inner.events({
'click #hide_button' : function(){
"use strict";
Session.set("show_outer",false);
Session.set("void_session", false);
}
});
}