Comments (3)
You can specify build_name. Try this:
npm "jquery.scrollTo", build_name: '$.scrollTo'
from npm-rails.
Why is this necessary? Is this library broken?
J. Pablo Fernández [email protected]
http://pupeno.com
On Sep 8, 2016 07:58, "Stepan Lusnikov" [email protected] wrote:
You can specify build_name. Try this:
npm "jquery.scrollTo", build_name: '$'
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#5 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAg6UffTzdtiRgGV5nOonzRuKFmD6pIks5qn7IKgaJpZM4J3qb1
.
from npm-rails.
By default packages attached to window
by camelize name, but in some cases need to change the name. For example, if you want jquery
to be defined as $
but not Jquery
.
from npm-rails.
Related Issues (8)
- Specify files to include in package HOT 2
- rails npm:install on Ubuntu WSL gets: Error: EACCES: permission denied, mkdir '/mnt/c/Users/Amadeus' TypeError: Cannot read property 'get' of undefined HOT 1
- Not able to use npm-rails in rails 3.2 version. is it compatible? HOT 1
- Lock File HOT 1
- Multiple Output Files HOT 2
- Ignore dependencies for specific package HOT 7
- Cannot find module HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from npm-rails.