CB-10624 remove error message from whitelist.js, which leaves it empty

This closes #17


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/commit/acee686a
Tree: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/tree/acee686a
Diff: 
http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/diff/acee686a

Branch: refs/heads/1.2.x
Commit: acee686ab2cb02fcbda6acfa5c58a2f35d8a1b13
Parents: edc9700
Author: Edna Morales <[email protected]>
Authored: Tue Feb 16 09:57:56 2016 -0500
Committer: Edna Morales <[email protected]>
Committed: Thu Feb 18 22:35:52 2016 -0500

----------------------------------------------------------------------
 plugin.xml   |  3 ---
 whitelist.js | 27 ---------------------------
 2 files changed, 30 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/blob/acee686a/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index f83f909..051a0ce 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -40,9 +40,6 @@
 
         <source-file src="src/android/WhitelistPlugin.java" 
target-dir="src/org/apache/cordova/whitelist" />
 
-        <js-module src="whitelist.js" name="whitelist">
-            <runs />
-        </js-module>
                <info>
                This plugin is only applicable for versions of cordova-android 
greater than 4.0. If you have a previous platform version, you do *not* need 
this plugin since the whitelist will be built in.
           </info>

http://git-wip-us.apache.org/repos/asf/cordova-plugin-whitelist/blob/acee686a/whitelist.js
----------------------------------------------------------------------
diff --git a/whitelist.js b/whitelist.js
deleted file mode 100644
index 74d7a99..0000000
--- a/whitelist.js
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements.  See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership.  The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License.  You may obtain a copy of the License at
- *
- *   http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied.  See the License for the
- * specific language governing permissions and limitations
- * under the License.
- *
-*/
-
-if (!document.querySelector('meta[http-equiv=Content-Security-Policy]')) {
-    var msg = 'No Content-Security-Policy meta tag found. Please add one when 
using the cordova-plugin-whitelist plugin.';
-    console.error(msg);
-    setInterval(function() {
-        console.warn(msg);
-    }, 10000);
-}


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to