Coder Social home page Coder Social logo

Support for Browserify about trackjs-package HOT 7 CLOSED

trackjs avatar trackjs commented on May 19, 2024 1
Support for Browserify

from trackjs-package.

Comments (7)

marcbachmann avatar marcbachmann commented on May 19, 2024

👍

from trackjs-package.

toddhgardner avatar toddhgardner commented on May 19, 2024

Will investigate what this will take.

from trackjs-package.

karellm avatar karellm commented on May 19, 2024

👍 It took me a while to figure it out.

The documentation states we can use _trackJs or trackJs.configure() but it is not the case. So we need to rely on hack to inject _trackJs prior the script loads which is far from ideal!

from trackjs-package.

don-smith avatar don-smith commented on May 19, 2024

👍 A common practice is to NOT check things like tokens into source control. We use a local config service (Angular) to bring in these tokens. I'm still trying to figure out how to do this for TrackJS. Far from ideal indeed!

from trackjs-package.

toddhgardner avatar toddhgardner commented on May 19, 2024

This is on our backlog and we're prioritizing it with other work. I'll update here when we have a timetable.

from trackjs-package.

jherdman avatar jherdman commented on May 19, 2024

To add to this ticket, it'd be great if the bower package exported an AMD module. This would make an entire part of my ember-cli-trackjs package obsolete.

from trackjs-package.

toddhgardner avatar toddhgardner commented on May 19, 2024

This has been added in agent v3.0.0, currently in canary testing. You can reference it as a module from npm:

npm install trackjs@canary

import { TrackJS } from 'trackjs';
TrackJS.install({ token: 'YOUR_TOKEN' });

from trackjs-package.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.