You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by br...@apache.org on 2013/12/11 22:54:34 UTC

[15/15] js commit: removing unused files

removing unused files


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

Branch: refs/heads/master
Commit: c6f377e649f99f000e7f99c80e1d1db70a6a1604
Parents: 5fae0b3
Author: brianleroux <b...@brian.io>
Authored: Thu Dec 12 08:44:34 2013 +1100
Committer: brianleroux <b...@brian.io>
Committed: Thu Dec 12 08:44:34 2013 +1100

----------------------------------------------------------------------
 RELEASENOTES.md           | 48 ------------------------------------------
 tasks/lib/collect-file.js | 16 --------------
 2 files changed, 64 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-js/blob/c6f377e6/RELEASENOTES.md
----------------------------------------------------------------------
diff --git a/RELEASENOTES.md b/RELEASENOTES.md
deleted file mode 100644
index d3bcd87..0000000
--- a/RELEASENOTES.md
+++ /dev/null
@@ -1,48 +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.
-#
--->
-## Release Notes for Cordova (JS) ##
-
-### 3.1.0 (Sept 2013) ###
-
-42 commits from 8 authors. Highlights include:
-
-New Features:
-* [CB-4761] Add cordova.platformId property
-* [CB-4725] Export cordova version as "cordova.version"
-* [CB-4420] Add a helper function for resolving relative URLs (cordova/urlutil)
-* Initial FirefoxOS support
-
-Other Changes:
-* [CB-4149] Read version from VERSION when there is no .git/
-* [android] Move non-plugin files out of plugins/ subdirectory.
-* [android] Tweak the online bridge to tell native when an event has happened.
-* Move bootstrap.js logic into a proper module "init.js"
-* [all] Move some start-up logic from cordova.js -> bootstrap.js
-* [CB-4418] Delete loadMatchingModules() and move modulemapping call into bootstrap.js (from platform.js)
-* [all] Make pluginloader call a callback instead of firing a channel.
-* [win8] Move commandProxy.js into windows8/
-* [CB-4428] Delete Android storage plugin from cordova-js (moved into cordova-android repo as a plugin)
-* [CB-4419] Remove non-CLI platforms from cordova-js.
-* Make base64 tests work in browser as well as Node
-* Change Gruntfile to auto-build before running tests
-* [Windows8] remove all plugins
-* [CB-4281] Moving echo to a plugin in mobilespec
-* Fix grunt tests by deleting plugin-related and legacy BB tests

http://git-wip-us.apache.org/repos/asf/cordova-js/blob/c6f377e6/tasks/lib/collect-file.js
----------------------------------------------------------------------
diff --git a/tasks/lib/collect-file.js b/tasks/lib/collect-file.js
deleted file mode 100644
index 849d4e2..0000000
--- a/tasks/lib/collect-file.js
+++ /dev/null
@@ -1,16 +0,0 @@
-// FIXME I think this is unused
-// smh
-module.exports = function collectFile(dir, id, entry) {
-    if (!id) id = ''
-    var moduleId = path.join(id,  entry)
-    var fileName = path.join(dir, entry)
-    
-    var stat = fs.statSync(fileName)
-
-    var result = {};
-
-    moduleId         = getModuleId(moduleId)
-    result[moduleId] = fileName
-
-    return copyProps({}, result)
-}