Skip to content

hammerjs needs to be added to packages for systemjs as well #7918

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 7 commits into from
Closed

hammerjs needs to be added to packages for systemjs as well #7918

wants to merge 7 commits into from

Conversation

Longfld
Copy link
Contributor

@Longfld Longfld commented Oct 20, 2017

getting-started/Appendix: Configuring SystemJS:
it mentioned add hammerjs to mapping, does not say it needs to be added to packages too.

Add hammerjs setting in systemjs.config.js
hammerjs setting for systemjs
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Oct 20, 2017
@Longfld
Copy link
Contributor Author

Longfld commented Oct 31, 2017

for workable example of using material 2, hammerjs in systemjs, check here

packages:{
app: {

},
Copy link
Member

Choose a reason for hiding this comment

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

What is this app objecT? Can it be removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes, please

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.

Condense this to one line?

hammerjs: {main: './hammer.js', defaultExtension: 'js'},

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes,please

@@ -157,7 +157,20 @@ System.config({
// CDK individual packages
'@angular/cdk/platform': 'npm:@angular/cdk/bundles/cdk-platform.umd.js',
'@angular/cdk/a11y': 'npm:@angular/cdk/bundles/cdk-a11y.umd.js',

// hammerjs
Copy link
Member

Choose a reason for hiding this comment

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

Comment is unnecessary

Copy link
Contributor Author

Choose a reason for hiding this comment

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

agree

@Longfld Longfld requested a review from amcdnl as a code owner February 16, 2018 09:04
@josephperrott
Copy link
Member

@Longfld can you rebase and we can work on reviewing and getting this in again?

@Longfld
Copy link
Contributor Author

Longfld commented Apr 1, 2018

This pull has been replaced by #10653

@Longfld Longfld closed this Apr 1, 2018
@Longfld
Copy link
Contributor Author

Longfld commented Apr 1, 2018

@josephperrott I have made #10653 to replace this(#v). Please review #10653 and get this in if proper, thanks!

@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.

4 participants