draft: refactor project so it sits on top of a standalone app
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
var DATA_URI_PATTERN = /^data:(\S*?)?(;charset=[^;]+)?(;[^,]+?)?,(.+)/;
|
||||
|
||||
function matchDataUri(uri) {
|
||||
return DATA_URI_PATTERN.exec(uri);
|
||||
}
|
||||
|
||||
module.exports = matchDataUri;
|
||||
Reference in New Issue
Block a user