Looks like Profiler is broken in the latest Meteor. If I run Kadira.profileCpu(10) on the client console, I get the following on the Meteor server since the random package is not use'd in package.js and Random is no longer exported globally by Meteor 1.2. It works fine with that change in there though! Very nice package! :smile:
I20151001-14:13:35.702(3)? Exception while invoking method 'kadira.profileCpu' ReferenceError: Random is not defined
I20151001-14:13:35.702(3)? at localProfileCPU (meteor://💻app/packages/meteorhacks_kadira-profiler/packages/meteorhacks_kadira-profiler.js:60:1)
I20151001-14:13:35.702(3)? at [object Object].Meteor.methods.kadira.profileCpu (meteor://💻app/packages/meteorhacks_kadira-profiler/packages/meteorhacks_kadira-profiler.js:18:1)
I20151001-14:13:35.702(3)? at [object Object].methodMap.(anonymous function) (meteor://💻app/packages/meteorhacks_kadira/packages/meteorhacks_kadira.js:2554:1)
Looks like Profiler is broken in the latest Meteor. If I run
Kadira.profileCpu(10)
on the client console, I get the following on the Meteor server since therandom
package is notuse
'd inpackage.js
andRandom
is no longer exported globally by Meteor 1.2. It works fine with that change in there though! Very nice package! :smile: