You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ni...@apache.org on 2017/12/21 16:07:16 UTC
[tika] branch master updated: TIKA-1141 Few more well-known JS
library headers
This is an automated email from the ASF dual-hosted git repository.
nick pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tika.git
The following commit(s) were added to refs/heads/master by this push:
new 700b38a TIKA-1141 Few more well-known JS library headers
700b38a is described below
commit 700b38acb6443c30b4b05312a2010826fc618477
Author: Nick Burch <ni...@gagravarr.org>
AuthorDate: Thu Dec 21 16:07:09 2017 +0000
TIKA-1141 Few more well-known JS library headers
---
.../src/main/resources/org/apache/tika/mime/tika-mimetypes.xml | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml b/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
index 88b9000..4bbaff1 100644
--- a/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
+++ b/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
@@ -325,8 +325,13 @@
<match value="!function(window,undefined){" type="string" offset="0"/>
<!-- Prototype -->
<match value="/* Prototype JavaScript " type="string" offset="0"/>
- <match value="var Prototype={ " type="string" offset="0"/>
+ <match value="var Prototype={" type="string" offset="0"/>
<match value="function $w(t){" type="string" offset="0"/>
+ <!-- React -->
+ <match value="/** @license React" type="string" offset="0"/>
+ <match value="/**" type="string" offset="0">
+ <match value="* React " offset="4:8"/>
+ </match>
</magic>
</mime-type>
--
To stop receiving notification emails like this one, please contact
['"commits@tika.apache.org" <co...@tika.apache.org>'].