You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by al...@apache.org on 2016/09/22 14:31:00 UTC

cordova-paramedic git commit: Inject global PARAMEDIC flag to the app

Repository: cordova-paramedic
Updated Branches:
  refs/heads/master 3ef549a3b -> eca89c5e8


Inject global PARAMEDIC flag to the app


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

Branch: refs/heads/master
Commit: eca89c5e8f75608cecc7e694f5b5d6c14211ff66
Parents: 3ef549a
Author: Alexander Sorokin <al...@akvelon.com>
Authored: Thu Sep 22 17:30:33 2016 +0300
Committer: Alexander Sorokin <al...@akvelon.com>
Committed: Thu Sep 22 17:30:33 2016 +0300

----------------------------------------------------------------------
 paramedic-plugin/JasmineParamedicProxy.js | 2 +-
 paramedic-plugin/paramedic.js             | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-paramedic/blob/eca89c5e/paramedic-plugin/JasmineParamedicProxy.js
----------------------------------------------------------------------
diff --git a/paramedic-plugin/JasmineParamedicProxy.js b/paramedic-plugin/JasmineParamedicProxy.js
index cfec003..4b242b3 100644
--- a/paramedic-plugin/JasmineParamedicProxy.js
+++ b/paramedic-plugin/JasmineParamedicProxy.js
@@ -1,4 +1,4 @@
-/* global window, cordova, device */
+/* global cordova, device */
 /**
     Licensed to the Apache Software Foundation (ASF) under one
     or more contributor license agreements.  See the NOTICE file

http://git-wip-us.apache.org/repos/asf/cordova-paramedic/blob/eca89c5e/paramedic-plugin/paramedic.js
----------------------------------------------------------------------
diff --git a/paramedic-plugin/paramedic.js b/paramedic-plugin/paramedic.js
index e2884b0..8fd9971 100644
--- a/paramedic-plugin/paramedic.js
+++ b/paramedic-plugin/paramedic.js
@@ -1,3 +1,4 @@
+/* global window, cordova, device, jasmine, XMLHttpRequest */
 /**
     Licensed to the Apache Software Foundation (ASF) under one
     or more contributor license agreements.  See the NOTICE file
@@ -37,6 +38,9 @@ Paramedic.prototype.initialize = function() {
 
     this.overrideConsole();
     this.injectJasmineReporter();
+
+    // indicate our presence
+    window.PARAMEDIC = true;
 };
 
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org