aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDeathamns <deathamns@gmail.com>2015-03-07 19:30:55 +0100
committerDeathamns <deathamns@gmail.com>2015-03-07 19:30:55 +0100
commitb46469c6ca3650a88258fcd6eac374e9779395e8 (patch)
treea2c5da95b92c22456080be0d8cf7888479d72adb
parent95b778fbc7305342a04c773dcbdabacc9d319daf (diff)
downloaduBlock-b46469c6ca3650a88258fcd6eac374e9779395e8.zip
uBlock-b46469c6ca3650a88258fcd6eac374e9779395e8.tar.gz
uBlock-b46469c6ca3650a88258fcd6eac374e9779395e8.tar.bz2
Trailing whitespace
-rw-r--r--platform/chromium/options_ui.html2
-rw-r--r--platform/chromium/vapi-background.js10
-rw-r--r--src/1p-filters.html2
-rw-r--r--src/devtool-log.html2
4 files changed, 8 insertions, 8 deletions
diff --git a/platform/chromium/options_ui.html b/platform/chromium/options_ui.html
index 8fefb31..9338070 100644
--- a/platform/chromium/options_ui.html
+++ b/platform/chromium/options_ui.html
@@ -6,4 +6,4 @@
</head>
<body>
</body>
-</html> \ No newline at end of file
+</html>
diff --git a/platform/chromium/vapi-background.js b/platform/chromium/vapi-background.js
index ea87661..fc5281f 100644
--- a/platform/chromium/vapi-background.js
+++ b/platform/chromium/vapi-background.js
@@ -374,17 +374,17 @@ vAPI.messaging.broadcast = function(message) {
// This allows to avoid creating a closure for every single message which
// expects an answer. Having a closure created each time a message is processed
-// has been always bothering me. Another benefit of the implementation here
+// has been always bothering me. Another benefit of the implementation here
// is to reuse the callback proxy object, so less memory churning.
//
// https://developers.google.com/speed/articles/optimizing-javascript
// "Creating a closure is significantly slower then creating an inner
-// function without a closure, and much slower than reusing a static
+// function without a closure, and much slower than reusing a static
// function"
//
// http://hacksoflife.blogspot.ca/2015/01/the-four-horsemen-of-performance.html
-// "the dreaded 'uniformly slow code' case where every function takes 1%
-// of CPU and you have to make one hundred separate performance optimizations
+// "the dreaded 'uniformly slow code' case where every function takes 1%
+// of CPU and you have to make one hundred separate performance optimizations
// to improve performance at all"
//
// http://jsperf.com/closure-no-closure/2
@@ -451,7 +451,7 @@ vAPI.net.registerListeners = function() {
var pos = tail.lastIndexOf('.');
// https://github.com/gorhill/uBlock/issues/862
- // If no transposition possible, transpose to `object` as per
+ // If no transposition possible, transpose to `object` as per
// Chromium bug 410382 (see below)
if ( pos === -1 ) {
details.type = 'object';
diff --git a/src/1p-filters.html b/src/1p-filters.html
index e437da1..a929cf3 100644
--- a/src/1p-filters.html
+++ b/src/1p-filters.html
@@ -13,7 +13,7 @@
<p data-i18n="1pFormatHint"></p>
<p><button id="userFiltersApply" disabled="true" data-i18n="1pApplyChanges"></button></p>
<textarea class="userFilters" id="userFilters" dir="auto" spellcheck="false"></textarea>
-<p><button id="importUserFiltersFromFile" data-i18n="1pImport"></button> &emsp;
+<p><button id="importUserFiltersFromFile" data-i18n="1pImport"></button> &emsp;
<button id="exportUserFiltersToFile" data-i18n="1pExport"></button>
<input id="importFilePicker" type="file" accept="text/plain" class="hiddenFileInput"></p>
diff --git a/src/devtool-log.html b/src/devtool-log.html
index cd6ae64..72b8a8c 100644
--- a/src/devtool-log.html
+++ b/src/devtool-log.html
@@ -11,7 +11,7 @@
<span id="reload" class="button fa">&#xf021;</span>
<span id="clear" class="button fa">&#xf12d;</span>
<span id="filterButton" class="button fa">&#xf0b0;</span><input id="filterExpression" type="text" placeholder="logFilterPrompt">
- <input id="maxEntries" type="text" size="5" title="logMaxEntriesTip">
+ <input id="maxEntries" type="text" size="5" title="logMaxEntriesTip">
</div>
<div id="content">
<table><tbody></tbody></table>