🎨 EOF/trailing whitespace/TOML&YAML check
And armed and documented pre-commit
This commit is contained in:
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>
|
||||
|
||||
@@ -46,4 +46,3 @@ ko.bindingHandlers.copyWidth = {
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
@@ -21,4 +21,3 @@ ko.bindingHandlers.toggle = {
|
||||
ko.utils.toggleDomNodeCssClass(element, 'active', ko.utils.unwrapObservable(valueAccessor()));
|
||||
}
|
||||
};
|
||||
|
||||
@@ -8,4 +8,4 @@ ko.bindingHandlers.valueWithInit = {
|
||||
ko.bindingHandlers.value.init(element, valueAccessor, allBindingsAccessor, context);
|
||||
},
|
||||
update: ko.bindingHandlers.value.update
|
||||
};
|
||||
};
|
||||
@@ -341,7 +341,7 @@ $(function() {
|
||||
|
||||
self.clearAllLogs = function() {
|
||||
self.log([]);
|
||||
self.plainLogLines([]);
|
||||
self.plainLogLines([]);
|
||||
};
|
||||
// command matching regex
|
||||
// (Example output for inputs G0, G1, G28.1, M117 test)
|
||||
|
||||
+1
-1
@@ -29,4 +29,4 @@ button.close {
|
||||
background: transparent;
|
||||
border: 0;
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -58,4 +58,4 @@ pre {
|
||||
.pre-scrollable {
|
||||
max-height: 340px;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -13,4 +13,4 @@
|
||||
padding-right: @gridGutterWidth;
|
||||
padding-left: @gridGutterWidth;
|
||||
.clearfix();
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -40,4 +40,4 @@
|
||||
color: @grayLight;
|
||||
background-color: #fff;
|
||||
cursor: default;
|
||||
}
|
||||
}
|
||||
@@ -116,8 +116,8 @@
|
||||
.border-radius(0);
|
||||
.box-shadow(none);
|
||||
}
|
||||
.nav-collapse .open > .dropdown-menu {
|
||||
display: block;
|
||||
.nav-collapse .open > .dropdown-menu {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.nav-collapse .dropdown-menu:before,
|
||||
|
||||
+1
-1
@@ -11,4 +11,4 @@
|
||||
background-repeat: repeat-x;
|
||||
filter: e(%("progid:DXImageTransform.Microsoft.gradient(startColorstr='%d', endColorstr='%d', GradientType=0)",argb(@startColor),argb(@endColor))); // IE9 and down
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
window.BABEL_TO_LOAD_{{ catalog.locale }} = {{ catalog | tojson | safe }};
|
||||
window.BABEL_TO_LOAD_{{ catalog.locale }} = {{ catalog | tojson | safe }};
|
||||
@@ -77,4 +77,3 @@
|
||||
</td>
|
||||
</script>
|
||||
</div>
|
||||
|
||||
@@ -9252,4 +9252,3 @@ msgstr "Zeitrafferaufnahme rendern"
|
||||
|
||||
#~ msgid "Autodetection timeout (further tries)"
|
||||
#~ msgstr "Autodetectiontimeout (weitere Versuche)"
|
||||
|
||||
Reference in new issue
Block a user