You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 26, 2018. It is now read-only.
Now, the dependencies load. The trick is to set the path to the directory containing the main module of the package to be loaded. If loaded as ptp/ptp, then relative paths work fine, otherwise not.
I think there is design issue that needs to be discussed, or there is something that I don't understand.
What do you think?
The text was updated successfully, but these errors were encountered:
Looking at your ptp component, you need to fix the main reference in your bower.json file (https://github.com/feklee/ptp.js/blob/master/bower.json#L8). It should be pointing to a file (or multiple), not a directory. So that could be causing some of your problems.
I installed my own package ptp.js. From
bower.json
:From
Gruntfile.js
:Resulting
config.js
:Now, to load
ptp.js
, the app's main module has:ptp.js
loads fine, but not any modules that it depends on. To fix this, I modifyconfig.js
to match what @jrburke does in his template for a simple one-page app:Then to load the module, I use:
Now, the dependencies load. The trick is to set the path to the directory containing the main module of the package to be loaded. If loaded as
ptp/ptp
, then relative paths work fine, otherwise not.I think there is design issue that needs to be discussed, or there is something that I don't understand.
What do you think?
The text was updated successfully, but these errors were encountered: