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

Overhaul ArchiveView and remove atom-space-pen-views - #45

Merged
as-cii merged 5 commits into
masterfrom
as-remove-jquery
Mar 3, 2017
Merged

as-cii merged 5 commits into
masterfrom
as-remove-jquery

Conversation

@as-cii

@as-cii as-cii commented Feb 17, 2017

Copy link
Copy Markdown
Contributor

This pull request is a substantial rewrite of almost the whole package. Every file that was previously using jQuery has now been converted to JavaScript and its dependency on atom-space-pen-views has been removed too. I also believe the logic for jumping between files via the keyboard shortcuts has been greatly simplified as it doesn't rely on the DOM anymore.

Feature-wise nothing should have changed, but this is another step toward removing jQuery from Atom.

/cc: @ungb

@Alhadis

Alhadis commented Feb 24, 2017 •

Copy link
Copy Markdown
Contributor

@as-cii The ArchiveEditor class should define an onDidDestroy handler for any packages that subscribe to closing pane-items. It's really the only subscription method worth keeping for parity with ordinary TextEditor instances... a package or theme might subscribe to a pane-item's close event via a tab's .item property.

Which is how it made its presence known in File-Icons' spec-suite.

@ungb

ungb commented Mar 2, 2017

Copy link
Copy Markdown

LGTM!

Tested the following file formats:
.epub
.jar
.love
.nupkg
.tar.gz
.war
.zip
.whl
.xpi

@as-cii
as-cii merged commit 2f9686d into master Mar 3, 2017
@as-cii
as-cii deleted the as-remove-jquery branch March 3, 2017 10:17
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.

3 participants