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
Load Backbone.D3View with your favorite module loader
Hi, I know backbone is really hands off on implementation and leaves it to the user, but a few examples of loading backbone.d3view could greatly help the community. For example, requiring Backbone with the following is okay with my browserify implementation; Backbone = require("backbone"), but the same with D3View confuses me. Any advice is greatly appreciated! thanks.
path-wise things should be fine according to node-browserify
You can use relative paths like './foo.js' and '../lib/bar.js' or module paths like 'gamma' that will search node_modules/ using node's module lookup algorithm.
The text was updated successfully, but these errors were encountered:
dreamalligator
changed the title
extending Backbone.D3View onto Backbone.View
extending Backbone.D3View onto Backbone.View
Sep 8, 2016
I'm marking this resolved, my issue had to do with file structure and order of compilation. Thanks! Looking forward to using D3View or NativeView, whichever fits best :)
Hi, I know backbone is really hands off on implementation and leaves it to the user, but a few examples of loading
backbone.d3view
could greatly help the community. For example, requiringBackbone
with the following is okay with mybrowserify
implementation;Backbone = require("backbone")
, but the same withD3View
confuses me. Any advice is greatly appreciated! thanks.edit: I made a similar stack overflow question here and will close both questions when either is answered.
related: akre54/Backbone.NativeView#22
path-wise things should be fine according to node-browserify
The text was updated successfully, but these errors were encountered: