cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [2/4] cordova-lib git commit: CB-9675 OSX App Icons are not properly copied.
Date Tue, 20 Oct 2015 20:41:26 GMT
CB-9675 OSX App Icons are not properly copied.

- removing unused function


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

Branch: refs/heads/master
Commit: 34bfac7cf53ed2b85dc49a184c8fa8548cb564b0
Parents: 8b667d8
Author: Tobias Bocanegra <tripod@adobe.com>
Authored: Wed Sep 16 20:34:49 2015 -0700
Committer: Steve Gill <stevengill97@gmail.com>
Committed: Tue Oct 20 13:00:07 2015 -0700

----------------------------------------------------------------------
 cordova-lib/src/cordova/metadata/osx_parser.js | 13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/34bfac7c/cordova-lib/src/cordova/metadata/osx_parser.js
----------------------------------------------------------------------
diff --git a/cordova-lib/src/cordova/metadata/osx_parser.js b/cordova-lib/src/cordova/metadata/osx_parser.js
index f359635..c87993d 100644
--- a/cordova-lib/src/cordova/metadata/osx_parser.js
+++ b/cordova-lib/src/cordova/metadata/osx_parser.js
@@ -155,15 +155,4 @@ osx_parser.prototype.update_from_config = function(config) {
 // -rclabel stripped=.
 function default_CFBundleVersion(version) {
     return version.split('-')[0];
-}
-
-// Converts cordova specific representation of target device to XCode value
-function parseTargetDevicePreference(value) {
-    if (!value) return null;
-    var map = { 'universal': '"1,2"', 'handset': '"1"', 'tablet': '"2"'};
-    if (map[value.toLowerCase()]) {
-        return map[value.toLowerCase()];
-    }
-    events.emit('warn', 'Unknown target-device preference value: "' + value + '".');
-    return null;
-}
+}
\ No newline at end of file


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


Mime
View raw message