Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Remove jQuery - #50

Merged
as-cii merged 5 commits into
masterfrom
as-remove-atom-space-pen-views
Jan 19, 2017
Merged

as-cii merged 5 commits into
masterfrom
as-remove-atom-space-pen-views

Conversation

@as-cii

@as-cii as-cii commented Jan 5, 2017

Copy link
Copy Markdown
Contributor

This pull request replaces atom-space-pen-views with etch and atom-select-list. Feature-wise nothing should change, but this yet another step toward removing jQuery from Atom Core.

/cc: @ungb for 👀. @simurai: since you're one of the top-3 committers of this package, could you take a look as well and help me ensure I haven't introduced any regression, please? ❤️

@simurai simurai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍 Yep, everything still seems to work and look the same.

The code blocks don't get highlighted all the time, but that an old issue.

Comment thread lib/styleguide-view.js

<main className='styleguide-sections'>
<StyleguideSection onDidInitialize={this.didInitializeSection.bind(this)} name='variables' title='Variables'>
<p>Use these UI variables in your package's stylesheets. They are set by UI themes and therefore your package will match the overall look. Make sure to @import 'ui-variables' in your stylesheets to use these variables.</p>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Maybe one thing. The ' in package's messes with the syntax highlighting of this file.

screen shot 2017-01-06 at 1 48 00 pm

Also here on github.com.

Should we just use &apos; instead?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think not escaping punctuation helps readability quite a lot: to circumvent this issue (which I believe is due to the language-javascript package) I have installed the language-babel package. That said I am totally cool to switch to HTML entities if you think that'd be better. 👍

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yeah. It looks like you're using JSX (or something similar?) here, which language-javascript doesn't support as it isn't native JS. To get it to render correctly on GitHub I think you'll need to switch the extension to .jsx.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yes, language-babel fixes it. Ok, let's keep as is. I should probably keep that package enabled anyways.

@ungb

ungb commented Jan 12, 2017

Copy link
Copy Markdown

@as-cii I was able to test this package as well as others that has changes to remove atom-space-pen-views/jquery. Everything looks good to me.

@as-cii
as-cii merged commit 05d68d0 into master Jan 19, 2017
@as-cii
as-cii deleted the as-remove-atom-space-pen-views branch January 19, 2017 12:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants