mirror of
https://github.com/gosticks/PiPer.git
synced 2026-10-06 23:46:56 +00:00
Improved coding style consistency
Log function defined as an expression
This commit is contained in:
Binary file not shown.
+4
-5
@@ -20,16 +20,15 @@ let PIPResource;
|
||||
/** @define {boolean} */
|
||||
const COMPILED = false;
|
||||
|
||||
function log(/** string */ message) {
|
||||
!COMPILED && console.log('PIPer: ' + message);
|
||||
}
|
||||
|
||||
|
||||
const BUTTON_ID = 'PIPButton';
|
||||
|
||||
let /** boolean */ buttonAdded = false;
|
||||
let /** ?PIPResource */ currentResource = null;
|
||||
|
||||
const log = function(message) {
|
||||
!COMPILED && console.log('PiPer: ' + message);
|
||||
}
|
||||
|
||||
const addButton = function(/** Element */ parent) {
|
||||
const button = document.createElement(currentResource.buttonElementType || 'button');
|
||||
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@
|
||||
<key>CFBundleShortVersionString</key>
|
||||
<string>0.1.3</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>23</string>
|
||||
<string>24</string>
|
||||
<key>Developer Identifier</key>
|
||||
<string>BQ6Q24MF9X</string>
|
||||
<key>URL</key>
|
||||
|
||||
Reference in New Issue
Block a user