Asked By: Anonymous
I’m trying to have several views access the same variable. I guess the easy solution would be to have a controller store the variable for views. But is there anyway to declare static variables in ember?
Solution
Answered By: Anonymous
Solution is to reopen class and add in the static variable like so.
What is the ember.js idiomatic way to create static variables in model?