You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by za...@apache.org on 2014/05/20 08:20:06 UTC
[1/2] spec commit: Replace innerText with more standard textContent
to fix manual battery test for firefox OS
Repository: cordova-mobile-spec
Updated Branches:
refs/heads/master b0ef368c4 -> 1b7ca6be5
Replace innerText with more standard textContent to fix manual battery test for firefox OS
Project: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/commit/26b5b3f2
Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/26b5b3f2
Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/26b5b3f2
Branch: refs/heads/master
Commit: 26b5b3f245828553e4a96983a61aa58b1ab39c60
Parents: c351554
Author: Rodrigo Silveira <ro...@outlook.com>
Authored: Thu May 1 15:01:00 2014 -0700
Committer: Rodrigo Silveira <ro...@outlook.com>
Committed: Thu May 1 15:01:00 2014 -0700
----------------------------------------------------------------------
battery/index.html | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/blob/26b5b3f2/battery/index.html
----------------------------------------------------------------------
diff --git a/battery/index.html b/battery/index.html
index 70b0db7..254be0c 100644
--- a/battery/index.html
+++ b/battery/index.html
@@ -51,22 +51,22 @@
/* Battery */
function updateInfo(info) {
- document.getElementById('level').innerText = info.level;
- document.getElementById('isPlugged').innerText = info.isPlugged;
+ document.getElementById('level').textContent = info.level;
+ document.getElementById('isPlugged').textContent = info.isPlugged;
if (info.level > 5) {
- document.getElementById('crit').innerText = "false";
+ document.getElementById('crit').textContent = "false";
}
if (info.level > 20) {
- document.getElementById('low').innerText = "false";
+ document.getElementById('low').textContent = "false";
}
}
function batteryLow(info) {
- document.getElementById('low').innerText = "true";
+ document.getElementById('low').textContent = "true";
}
function batteryCritical(info) {
- document.getElementById('crit').innerText = "true";
+ document.getElementById('crit').textContent = "true";
}
function addBattery() {
[2/2] spec commit: Merge remote-tracking branch 'mozilla/fix-battery'
Posted by za...@apache.org.
Merge remote-tracking branch 'mozilla/fix-battery'
Project: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/commit/1b7ca6be
Tree: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/tree/1b7ca6be
Diff: http://git-wip-us.apache.org/repos/asf/cordova-mobile-spec/diff/1b7ca6be
Branch: refs/heads/master
Commit: 1b7ca6be546316b11680412aadd3a541e3a03a49
Parents: b0ef368 26b5b3f
Author: Piotr Zalewa <pi...@zalewa.info>
Authored: Tue May 20 08:19:30 2014 +0200
Committer: Piotr Zalewa <pi...@zalewa.info>
Committed: Tue May 20 08:19:30 2014 +0200
----------------------------------------------------------------------
battery/index.html | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------