share/views/public/js/rbbt.js in rbbt-rest-1.7.5 vs share/views/public/js/rbbt.js in rbbt-rest-1.7.6
- old
+ new
@@ -24,9 +24,14 @@
rbbt.log = function(obj){
console.log((new Date()).toString() + ' => ' + obj)
}
+rbbt.caller = function(){
+ var err = new Error();
+ return err.stack;
+}
+
rbbt.mount = function(obj, component){
obj.className = obj.className + ' mithril-mount'
m.mount(obj, component)
}