You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2013/07/08 23:57:03 UTC
git commit: [CB-4111] remove dupe code
Updated Branches:
refs/heads/master cefc3857e -> 4c75a2648
[CB-4111] remove dupe code
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-console/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-console/commit/4c75a264
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-console/tree/4c75a264
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-console/diff/4c75a264
Branch: refs/heads/master
Commit: 4c75a26489ce18838e00b2bf8818d0d4406ac0e2
Parents: cefc385
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Mon Jul 8 14:56:41 2013 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Mon Jul 8 14:56:41 2013 -0700
----------------------------------------------------------------------
plugin.xml | 4 ++--
src/wp/DebugConsole.cs | 49 ++++++++++++++++++++++++++++++++++++++++++++
src/wp7/DebugConsole.cs | 49 --------------------------------------------
src/wp8/DebugConsole.cs | 49 --------------------------------------------
4 files changed, 51 insertions(+), 100 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-console/blob/4c75a264/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 2be24ab..2893ea4 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -36,7 +36,7 @@
</feature>
</config-file>
- <source-file src="src/wp7/DebugConsole.cs" />
+ <source-file src="src/wp/DebugConsole.cs" />
</platform>
<!-- wp8 -->
@@ -47,7 +47,7 @@
</feature>
</config-file>
- <source-file src="src/wp8/DebugConsole.cs" />
+ <source-file src="src/wp/DebugConsole.cs" />
</platform>
</plugin>
http://git-wip-us.apache.org/repos/asf/cordova-plugin-console/blob/4c75a264/src/wp/DebugConsole.cs
----------------------------------------------------------------------
diff --git a/src/wp/DebugConsole.cs b/src/wp/DebugConsole.cs
new file mode 100644
index 0000000..fa9863a
--- /dev/null
+++ b/src/wp/DebugConsole.cs
@@ -0,0 +1,49 @@
+/*
+ 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 msg)
+ {
+ Debug.WriteLine("Log:" + msg);
+ }
+
+ public void error(string msg)
+ {
+ Debug.WriteLine("Error:" + msg);
+ }
+
+ public void warn(string msg)
+ {
+ Debug.WriteLine("Warn:" + msg);
+ }
+
+ }
+}
http://git-wip-us.apache.org/repos/asf/cordova-plugin-console/blob/4c75a264/src/wp7/DebugConsole.cs
----------------------------------------------------------------------
diff --git a/src/wp7/DebugConsole.cs b/src/wp7/DebugConsole.cs
deleted file mode 100644
index fa9863a..0000000
--- a/src/wp7/DebugConsole.cs
+++ /dev/null
@@ -1,49 +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 msg)
- {
- Debug.WriteLine("Log:" + msg);
- }
-
- public void error(string msg)
- {
- Debug.WriteLine("Error:" + msg);
- }
-
- public void warn(string msg)
- {
- Debug.WriteLine("Warn:" + msg);
- }
-
- }
-}
http://git-wip-us.apache.org/repos/asf/cordova-plugin-console/blob/4c75a264/src/wp8/DebugConsole.cs
----------------------------------------------------------------------
diff --git a/src/wp8/DebugConsole.cs b/src/wp8/DebugConsole.cs
deleted file mode 100644
index fa9863a..0000000
--- a/src/wp8/DebugConsole.cs
+++ /dev/null
@@ -1,49 +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 msg)
- {
- Debug.WriteLine("Log:" + msg);
- }
-
- public void error(string msg)
- {
- Debug.WriteLine("Error:" + msg);
- }
-
- public void warn(string msg)
- {
- Debug.WriteLine("Warn:" + msg);
- }
-
- }
-}