Merge pull request #724 from nexushoratio/proofreading
Small bunch of proofreading edits.
This commit is contained in:
commit
4b66e4c7cc
@ -507,7 +507,7 @@ window.setupLayerChooserApi = function() {
|
|||||||
|
|
||||||
function boot() {
|
function boot() {
|
||||||
try { //EXPERIMENTAL TEST
|
try { //EXPERIMENTAL TEST
|
||||||
if(!isSmartphone()) // TODO remove completly?
|
if(!isSmartphone()) // TODO remove completely?
|
||||||
window.debug.console.overwriteNativeIfRequired();
|
window.debug.console.overwriteNativeIfRequired();
|
||||||
|
|
||||||
console.log('loading done, booting. Built: @@BUILDDATE@@');
|
console.log('loading done, booting. Built: @@BUILDDATE@@');
|
||||||
|
@ -133,7 +133,7 @@ window.plugin.apList.getPortalDestroyCheckbox = function(portal) {
|
|||||||
|
|
||||||
window.plugin.apList.getCheckbox = function(onClick, addedClass, content) {
|
window.plugin.apList.getCheckbox = function(onClick, addedClass, content) {
|
||||||
// 2 div for centering checkbox horizontally and vertically,
|
// 2 div for centering checkbox horizontally and vertically,
|
||||||
// click event on outest div for people with not so good aiming
|
// click event on most outer div for people with not so good aiming
|
||||||
var div = '<div class="ap-list-checkbox-outer" onclick="' + (onClick || '')+ '">'
|
var div = '<div class="ap-list-checkbox-outer" onclick="' + (onClick || '')+ '">'
|
||||||
+ '<div class="ap-list-checkbox-inner ' + (addedClass || '') + '">'
|
+ '<div class="ap-list-checkbox-inner ' + (addedClass || '') + '">'
|
||||||
+ (content || '')
|
+ (content || '')
|
||||||
|
@ -19,9 +19,9 @@
|
|||||||
// PLUGIN START ////////////////////////////////////////////////////////
|
// PLUGIN START ////////////////////////////////////////////////////////
|
||||||
|
|
||||||
// use own namespace for plugin
|
// use own namespace for plugin
|
||||||
window.plugin.resoEnergyPctInPortalDetal = function() {};
|
window.plugin.resoEnergyPctInPortalDetail = function() {};
|
||||||
|
|
||||||
window.plugin.resoEnergyPctInPortalDetal.updateMeter = function(data) {
|
window.plugin.resoEnergyPctInPortalDetail.updateMeter = function(data) {
|
||||||
$("span.meter-level")
|
$("span.meter-level")
|
||||||
.css({
|
.css({
|
||||||
"word-spacing": "-1px",
|
"word-spacing": "-1px",
|
||||||
@ -39,7 +39,7 @@ window.plugin.resoEnergyPctInPortalDetal.updateMeter = function(data) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var setup = function() {
|
var setup = function() {
|
||||||
window.addHook('portalDetailsUpdated', window.plugin.resoEnergyPctInPortalDetal.updateMeter);
|
window.addHook('portalDetailsUpdated', window.plugin.resoEnergyPctInPortalDetail.updateMeter);
|
||||||
}
|
}
|
||||||
|
|
||||||
// PLUGIN END //////////////////////////////////////////////////////////
|
// PLUGIN END //////////////////////////////////////////////////////////
|
||||||
|
@ -36,7 +36,7 @@ window.plugin.sync = function() {};
|
|||||||
|
|
||||||
window.plugin.sync.KEY_UUID = {key: 'plugin-sync-data-uuid', field: 'uuid'};
|
window.plugin.sync.KEY_UUID = {key: 'plugin-sync-data-uuid', field: 'uuid'};
|
||||||
|
|
||||||
// Each client has an unique UUID, to identify remote data is udpated by other clients or not
|
// Each client has an unique UUID, to identify remote data is updated by other clients or not
|
||||||
window.plugin.sync.uuid = null;
|
window.plugin.sync.uuid = null;
|
||||||
|
|
||||||
window.plugin.sync.dialogHTML = null;
|
window.plugin.sync.dialogHTML = null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user