Skip to content

docs: hammerjs using systemjs.config #10653

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

Closed
wants to merge 2 commits into from
Closed

Conversation

Longfld
Copy link
Contributor

@Longfld Longfld commented Apr 1, 2018

To re-do and replace #7918

@Longfld Longfld requested review from amcdnl and jelbourn as code owners April 1, 2018 12:43
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Apr 1, 2018
}
'hammerjs': 'npm:hammerjs',
},
packages: {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The indentation here is inconsistent with the rest of the code snippet.

'hammerjs': 'npm:hammerjs',
},
packages: {
hammerjs: { main: './hammer.js', defaultExtension: 'js'}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You've got an extra space before and after the curly brace. Also shouldn't this use the minified version of the file?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

systemjs, normally used as development. And if someone wants to bring it in production, I will assume they should know how to config. it.
But if @crisbeto believes it is better to have minified version, please let me know.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SystemJS does have a bundler that can be used for production, but I'm fine with continuing to use the non-minified version. The comment from above about the indentation still stands though.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@crisbeto somehow, I cannot push my changes from my fork anymore. Do you want to take over this pull and we can have job done?
https://github.com/Longfld/material2/blob/master/guides/getting-started.md
For minified version:
hammerjs: {main: './hammer.min.js',defaultExtension: 'js'}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That makes it trickier with the CLA. We're not in a rush to get this one in anyway. You might be getting blocked from pushing to your fork if your git email is out of sync with the one from GitHub.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@crisbeto thanks enlighten me! I can push from my fork now. waiting for your further comments

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for being nitpicky, but it looks like the indentation still doesn't line up with the rest of the file.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right, it is me, got difficult to commit in, please see #10711

@josephperrott josephperrott changed the title hammerjs using systemjs.config docs: hammerjs using systemjs.config Apr 2, 2018
@Longfld
Copy link
Contributor Author

Longfld commented Apr 6, 2018

Replace by #10711

@Longfld Longfld closed this Apr 6, 2018
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes PR author has agreed to Google's Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants