Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find a better solution for global.$ #10

Closed
obuchtala opened this issue Aug 24, 2015 · 1 comment
Closed

Find a better solution for global.$ #10

obuchtala opened this issue Aug 24, 2015 · 1 comment
Milestone

Comments

@obuchtala
Copy link
Member

ATM we rely on jquery being available globally.

In the browser we need either include jquery via script tag or do this

var $ = window.$ = require('jquery');

On the server we use cheerio, and register it the same way.

It would be better to have a index file serving jQuery or cheerio.

var $ = require('substance/jqueryish');

Find a better name.

@michael michael modified the milestone: Beta 2 Aug 25, 2015
@obuchtala
Copy link
Member Author

Done quite a time ago.

sunu pushed a commit to sunu/substance that referenced this issue May 19, 2016
Do not replace new lines with spaces
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants