Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

try/catch plugins unavailable in component #62

Merged
merged 1 commit into from

3 participants

@jonathanong

it's not referenced in component.json, but inline wouldn't work in the browser anyways

@ai
Owner
ai commented

+1 to accept and release :).

@tj tj merged commit 9214281 into reworkcss:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 17, 2013
  1. @jonathanong

    try/catch inline

    jonathanong authored
This page is out of date. Refresh to see the latest.
Showing with 8 additions and 1 deletion.
  1. +8 −1 lib/rework.js
View
9 lib/rework.js
@@ -105,4 +105,11 @@ exports.at2x = require('./plugins/at2x');
exports.url = require('./plugins/url');
exports.ease = require('./plugins/ease');
exports.vars = require('./plugins/vars');
-exports.inline = require('./plugins/inline');
+
+/**
+ * Try/catch plugins unavailable in component.
+ */
+
+ try {
+ exports.inline = require('./plugins/inline');
+} catch (err) {};
Something went wrong with that request. Please try again.