Open b-g opened 6 years ago
Hi @tdurand. Do you mind if we add to package.json something like this?
package.json
"bundle": "browserify main.js --standalone tracker -o dist/moving-things-tracker.js", "dist": "npm run bundle && browserify main.js --standalone gd | uglifyjs > dist/moving-things-tracker.min.js"
That way I believe people could use it out of the box in the browser via tracker.Tracker.updateTrackedItemsWithNewFrame ... which would be great as e.g. the create coding audience might not always be into node.js.
tracker.Tracker.updateTrackedItemsWithNewFrame
Yes no problem, could you send a PR or I can do it ?
Hi @tdurand. Do you mind if we add to
package.json
something like this?That way I believe people could use it out of the box in the browser via
tracker.Tracker.updateTrackedItemsWithNewFrame
... which would be great as e.g. the create coding audience might not always be into node.js.