GitHub user loufranco opened a pull request:
https://github.com/apache/cordova-plugin-file/pull/55
CB-6532 iOS: a cdvfile:// to a CSS file doesn't work in a link tag
The issue is that there's a bug in UTTypeCopyPreferredTagWithClass, It
returns nil mimetype for css (sometimes -- it appears that it happens when
there is no network). There is already a workaround for other files -- the
JIRA case indicates that this might be true for fonts as well.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/loufranco/cordova-plugin-file master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-file/pull/55.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #55
----
commit 043468284496733f5b1e06f9d9c5d6f0866cfa75
Author: Lou Franco <[email protected]>
Date: 2014-06-24T22:24:48Z
UTTypeCopyPreferredTagWithClass returns nil mimetype for css when there is
no network
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---