Skip to content

Commit

Permalink
Incrementing version to 3.0.0, ready for tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
infil00p committed Jul 19, 2013
1 parent d91ac45 commit d0b3f41
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.0rc1
3.0.0
2 changes: 1 addition & 1 deletion bin/templates/cordova/version
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
# specific language governing permissions and limitations
# under the License.

echo "3.0.0rc1"
echo "3.0.0"
6 changes: 3 additions & 3 deletions framework/assets/www/cordova.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Platform: android
// 3.0.0rc1-0-g1965a39
// 3.0.0-0-ge670de9
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
Expand All @@ -19,7 +19,7 @@
under the License.
*/
;(function() {
var CORDOVA_JS_BUILD_LABEL = '3.0.0rc1-0-g1965a39';
var CORDOVA_JS_BUILD_LABEL = '3.0.0-0-ge670de9';
// file: lib/scripts/require.js

var require,
Expand Down Expand Up @@ -1786,7 +1786,7 @@ function handlePluginsObject(path, moduleList) {
var scriptCounter = moduleList.length;

if (!scriptCounter) {
onScriptLoadingComplete();
finishPluginLoading();
return;
}
function scriptLoadedCallback() {
Expand Down
11 changes: 8 additions & 3 deletions test/assets/www/cordova.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Platform: android
// 2.7.0rc1-169-g87cc336
// 3.0.0-0-ge670de9
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
Expand All @@ -19,7 +19,7 @@
under the License.
*/
;(function() {
var CORDOVA_JS_BUILD_LABEL = '2.7.0rc1-169-g87cc336';
var CORDOVA_JS_BUILD_LABEL = '3.0.0-0-ge670de9';
// file: lib/scripts/require.js

var require,
Expand Down Expand Up @@ -900,7 +900,7 @@ function androidExec(success, fail, service, action, args) {
// Process any ArrayBuffers in the args into a string.
for (var i = 0; i < args.length; i++) {
if (utils.typeName(args[i]) == 'ArrayBuffer') {
args[i] = utils.encodeBase64(args[i]);
args[i] = base64.fromArrayBuffer(args[i]);
}
}

Expand Down Expand Up @@ -1784,6 +1784,11 @@ function finishPluginLoading() {
function handlePluginsObject(path, moduleList) {
// Now inject the scripts.
var scriptCounter = moduleList.length;

if (!scriptCounter) {
finishPluginLoading();
return;
}
function scriptLoadedCallback() {
if (!--scriptCounter) {
onScriptLoadingComplete(moduleList);
Expand Down

0 comments on commit d0b3f41

Please sign in to comment.