Skip to content

Commit 0febce2

Browse files
authored
Fix exp-ref
1 parent 417faf2 commit 0febce2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/exp.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class Exp {
77
constructor(settings) {
88
/* Initializing model */
99
this.model = settings.data || {};
10-
10+
1111
this.RavenInstance = undefined;
1212
const RAVEN_CDN = "https://cdn.ravenjs.com/3.26.4/raven.min.js";
1313

@@ -271,6 +271,7 @@ class Exp {
271271
this.bindClose();
272272
this.bindFors();
273273
this.bindIfs();
274+
this.bindRefs();
274275

275276
/* Load recommendations */
276277
this.loadRecommendations();
@@ -332,6 +333,7 @@ class Exp {
332333
/* Bind helper methods */
333334
this.model.$anim = $anim;
334335
this.model.$validateEmail = $validateEmail;
336+
this.model.$refs = {};
335337

336338
/* Bind special methods to be used in `this` scope */
337339
this.model.removeBanner = this.removeBanner.bind(this, this.app);

0 commit comments

Comments
 (0)