You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by be...@apache.org on 2013/07/11 00:40:25 UTC
git commit: Removed native DebugConsole code, now it's just javascript
Updated Branches:
refs/heads/master c02fd9098 -> 9581a3671
Removed native DebugConsole code, now it's just javascript
Project: http://git-wip-us.apache.org/repos/asf/cordova-wp8/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-wp8/commit/9581a367
Tree: http://git-wip-us.apache.org/repos/asf/cordova-wp8/tree/9581a367
Diff: http://git-wip-us.apache.org/repos/asf/cordova-wp8/diff/9581a367
Branch: refs/heads/master
Commit: 9581a3671cda6d3ce4fa9b0e91e7568f3d14f9b3
Parents: c02fd90
Author: Benn Mapes <be...@gmail.com>
Authored: Wed Jul 10 15:39:48 2013 -0700
Committer: Benn Mapes <be...@gmail.com>
Committed: Wed Jul 10 15:39:48 2013 -0700
----------------------------------------------------------------------
common/Plugins/DebugConsole.cs | 52 ------------------------------
wp7/template/CordovaWP7AppProj.csproj | 1 -
wp7/template/config.xml | 3 --
wp8/template/CordovaWP8AppProj.csproj | 1 -
wp8/template/config.xml | 3 --
5 files changed, 60 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/9581a367/common/Plugins/DebugConsole.cs
----------------------------------------------------------------------
diff --git a/common/Plugins/DebugConsole.cs b/common/Plugins/DebugConsole.cs
deleted file mode 100644
index fdf504c..0000000
--- a/common/Plugins/DebugConsole.cs
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- Licensed 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.
-*/
-
-using System;
-using System.Net;
-using System.Windows;
-using System.Windows.Controls;
-using System.Windows.Documents;
-using System.Windows.Ink;
-using System.Windows.Input;
-using System.Windows.Media;
-using System.Windows.Media.Animation;
-using System.Windows.Shapes;
-using System.Diagnostics;
-
-namespace WPCordovaClassLib.Cordova.Commands
-{
-
- public class DebugConsole : BaseCommand
- {
- // warn, error
- public void log(string args)
- {
- string msg = JSON.JsonHelper.Deserialize<string[]>(args)[0];
- Debug.WriteLine("Log:" + msg);
- }
-
- public void error(string args)
- {
- string msg = JSON.JsonHelper.Deserialize<string[]>(args)[0];
- Debug.WriteLine("Error:" + msg);
- }
-
- public void warn(string args)
- {
- string msg = JSON.JsonHelper.Deserialize<string[]>(args)[0];
- Debug.WriteLine("Warn:" + msg);
- }
-
- }
-}
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/9581a367/wp7/template/CordovaWP7AppProj.csproj
----------------------------------------------------------------------
diff --git a/wp7/template/CordovaWP7AppProj.csproj b/wp7/template/CordovaWP7AppProj.csproj
index 882c2da..3754935 100644
--- a/wp7/template/CordovaWP7AppProj.csproj
+++ b/wp7/template/CordovaWP7AppProj.csproj
@@ -103,7 +103,6 @@
<Compile Include="cordovalib\ScriptCallback.cs" />
<Compile Include="cordovalib\XHRHelper.cs" />
<Compile Include="cordovalib\MimeTypeMapper.cs" />
- <Compile Include="Plugins\DebugConsole.cs" />
<Compile Include="MainPage.xaml.cs">
<DependentUpon>MainPage.xaml</DependentUpon>
</Compile>
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/9581a367/wp7/template/config.xml
----------------------------------------------------------------------
diff --git a/wp7/template/config.xml b/wp7/template/config.xml
index 616d7cc..57cadf6 100644
--- a/wp7/template/config.xml
+++ b/wp7/template/config.xml
@@ -21,7 +21,4 @@
-->
<widget>
<access origin="*"/>
- <feature name="Logger">
- <param name="wp-package" value="Logger"/>
- </feature>
</widget>
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/9581a367/wp8/template/CordovaWP8AppProj.csproj
----------------------------------------------------------------------
diff --git a/wp8/template/CordovaWP8AppProj.csproj b/wp8/template/CordovaWP8AppProj.csproj
index 72aa388..03c75db 100644
--- a/wp8/template/CordovaWP8AppProj.csproj
+++ b/wp8/template/CordovaWP8AppProj.csproj
@@ -141,7 +141,6 @@
<Compile Include="cordovalib\ScriptCallback.cs" />
<Compile Include="cordovalib\XHRHelper.cs" />
<Compile Include="cordovalib\MimeTypeMapper.cs" />
- <Compile Include="Plugins\DebugConsole.cs" />
<Compile Include="MainPage.xaml.cs">
<DependentUpon>MainPage.xaml</DependentUpon>
</Compile>
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/9581a367/wp8/template/config.xml
----------------------------------------------------------------------
diff --git a/wp8/template/config.xml b/wp8/template/config.xml
index 616d7cc..57cadf6 100644
--- a/wp8/template/config.xml
+++ b/wp8/template/config.xml
@@ -21,7 +21,4 @@
-->
<widget>
<access origin="*"/>
- <feature name="Logger">
- <param name="wp-package" value="Logger"/>
- </feature>
</widget>