🎨 EOF/trailing whitespace/TOML&YAML check

And armed and documented pre-commit
This commit is contained in:
Gina Häußge committed 2020-10-07 13:45:49 +02:00
1 parent fbfb34df58
commit cae6730ea8
38 files changed
+85 -54

No files matched your search

@@ -36,4 +36,3 @@
<button class="btn" data-dismiss="modal" aria-hidden="true">{{ _('Close') }}</button>
</div>
</div>
@@ -19,4 +19,4 @@
</serviceList>
<presentationURL>{{ presentationUrl }}</presentationURL>
</device>
</root>
</root>
@@ -84,7 +84,7 @@ GCODE.renderer = (function(){
viewportChanged = false;
}
}
var reRender = function(){
if (!model) return;
@@ -587,7 +587,7 @@ GCODE.renderer = (function(){
// alpha value (100% if current layer is being rendered, 30% otherwise)
// Note - If showing currently layer as preview - also render it at 30% and draw the progress over the top at 100%
var alpha = (renderOptions['showNextLayer'] || renderOptions['showCurrentLayer'] || renderOptions['showPreviousLayer']) && isNotCurrentLayer ? 0.3 : 1.0;
var colorLine = {};
var colorMove = {};
var colorRetract = {};
@@ -726,7 +726,7 @@ GCODE.renderer = (function(){
prevX = x;
prevY = y;
}
if (prevPathType != "fill") {
ctx.stroke();
}
@@ -863,7 +863,7 @@ GCODE.renderer = (function(){
ctx.translate(translationX, -translationY);
ctx.scale(viewportRatio, viewportRatio);
offsetModelX = 0;
offsetModelY = 0;
offsetBedX = 0;
@@ -904,7 +904,7 @@ GCODE.renderer = (function(){
},
render: function(layerNum, fromProgress, toProgress){
if (!initialized) this.init();
layerNumStore = layerNum;
progressStore.from = fromProgress;
progressStore.to = toProgress;
@@ -16,4 +16,3 @@
OctoPrintClient.registerPluginComponent("pi_support", OctoPrintPiSupportClient);
return OctoPrintPiSupportClient;
});
@@ -29,4 +29,3 @@
For a copy of the GNU General Public License, see
<a href="https://www.gnu.org/licenses/gpl-3.0.en.html" target="_blank" rel="noreferrer noopener">www.gnu.org/licenses/gpl-3.0.en.html</a>.
</p>
@@ -27,5 +27,3 @@
</div>
</div>
</form>
@@ -430,4 +430,3 @@
<button class="btn btn-primary" data-bind="click: savePluginSettings" aria-hidden="true">{{ _('Save') }}</button>
</div>
</div>
@@ -73,4 +73,3 @@ td.settings_plugin_softwareupdate_column_information {
}
}
}
@@ -171,4 +171,3 @@
<button class="btn" data-dismiss="modal" data-bind="enable: !$root.working()" aria-hidden="true">{{ _('Close') }}</button>
</div>
</div>