Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Use DOM APIs to apply stylesheets - #3470

Merged
kevinsawicki merged 10 commits into
masterfrom
ks-no-jquery-to-apply-stylesheets
Sep 8, 2014
Merged

kevinsawicki merged 10 commits into
masterfrom
ks-no-jquery-to-apply-stylesheets

Conversation

@kevinsawicki

Copy link
Copy Markdown
Contributor

Previously jQuery was used, but using the DOM APIs directly takes 1/3 of the time.

For me this dropped the time taken to loads all stylesheets from 60ms to 20ms which is synchronously done at startup.

@batjko

batjko commented Sep 6, 2014

Copy link
Copy Markdown
Contributor

👍

@philipgiuliani

Copy link
Copy Markdown
Contributor

Cool 👍

@kevinsawicki kevinsawicki changed the title 🐎 Use DOM APIs to apply stylesheets Use DOM APIs to apply stylesheets Sep 8, 2014
@kevinsawicki
kevinsawicki force-pushed the ks-no-jquery-to-apply-stylesheets branch from 02309ff to 01d6265 Compare September 8, 2014 16:33
@kevinsawicki
kevinsawicki force-pushed the ks-no-jquery-to-apply-stylesheets branch from e4fd3ca to ab75f31 Compare September 8, 2014 16:45
kevinsawicki added a commit that referenced this pull request Sep 8, 2014
@kevinsawicki
kevinsawicki merged commit aa5a094 into master Sep 8, 2014
@kevinsawicki
kevinsawicki deleted the ks-no-jquery-to-apply-stylesheets branch September 8, 2014 17:09
@benogle benogle mentioned this pull request Sep 30, 2014
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