-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
390 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
diff --git a/dist/paper-full.js b/dist/paper-full.js | ||
index a4c955176b05f0fa4116db3e01d6947fd570dff2..365541d589b24672cdf0463fde3f15bd76cca08d 100644 | ||
--- a/dist/paper-full.js | ||
+++ b/dist/paper-full.js | ||
@@ -17558,3 +17558,5 @@ if (typeof define === 'function' && define.amd) { | ||
|
||
return paper; | ||
}.call(this, typeof self === 'object' ? self : null); | ||
+ | ||
+export default paper |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/index.js b/index.js | ||
index 6d5d2a7891ba13e30c581aa82da1f86a49f5fa36..adb674864cb0da258682fe583ac3c8504573c6ef 100644 | ||
--- a/index.js | ||
+++ b/index.js | ||
@@ -1,6 +1,6 @@ | ||
-var convert = require('color-convert'); | ||
+import convert from 'color-convert'; | ||
|
||
-module.exports = function (cstr) { | ||
+export default function (cstr) { | ||
var m, conv, parts, alpha; | ||
if (m = /^((?:rgb|hs[lv]|cmyk|xyz|lab)a?)\s*\(([^\)]*)\)/.exec(cstr)) { | ||
var name = m[1]; |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters