Skip to content
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

[Partial] Fix for Issue #175: Implement RequireJS Error Handling #198

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

long-m-r
Copy link

I implemented the requirejs error callback for linkLoad. Works in Firefox v40 and Chrome v44.

Also modified the normalize/load function so it can be used with dynamically served css files. Solves an issue I had with Google's Fonts API where css files are located at an address like 'https://fonts.googleapis.com/icon?family=Material+Icons'. Now it doesn't append '.css' to files that either already have it (like before) or those which have a '?' in the address.

Modified to support requirejs error handling [line 149-153]
Also added support for dynamic css servers (fixes issue sites like Google Fonts API. where the files is at https://fonts.googapis.com/icon?family=Material+Icons) [line 160,165]
Update to match css.js changes
typo in regex
@long-m-r long-m-r changed the title Implement RequireJS Error Handling (and normalize change) [Partial] Fix for Issue # #175: Implement RequireJS Error Handling Sep 1, 2015
@long-m-r long-m-r changed the title [Partial] Fix for Issue # #175: Implement RequireJS Error Handling [Partial] Fix for Issue #175: Implement RequireJS Error Handling Sep 1, 2015
@alundiak
Copy link
Collaborator

alundiak commented Feb 2, 2017

@long-m-r could u please squash commits into one?

@alundiak alundiak mentioned this pull request Feb 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants