More indentation conversion
This commit is contained in:
8
scripts/client/vehicle.js
Normal file
8
scripts/client/vehicle.js
Normal file
@@ -0,0 +1,8 @@
|
||||
// ===========================================================================
|
||||
// Vortrex's Roleplay Resource
|
||||
// https://github.com/VortrexFTW/gtac_roleplay
|
||||
// ===========================================================================
|
||||
// FILE: vehicle.js
|
||||
// DESC: Provides vehicle functions and arrays with data
|
||||
// TYPE: Client (JavaScript)
|
||||
// ===========================================================================
|
||||
1
third-party/mexui/Core/Component/Control.js
vendored
1
third-party/mexui/Core/Component/Control.js
vendored
@@ -131,4 +131,3 @@ mexui.Component.Control.prototype.unbind = function()
|
||||
{
|
||||
this.boundTo = null;
|
||||
};
|
||||
|
||||
|
||||
1
third-party/mexui/Core/Component/Entry.js
vendored
1
third-party/mexui/Core/Component/Entry.js
vendored
@@ -29,4 +29,3 @@ mexui.Component.Entry.prototype.remove = function()
|
||||
this.control.axis[this.getAxisKey()].entries.splice(this.getEntryIndex(), 1);
|
||||
this.control.checkToShowScrollBars();
|
||||
};
|
||||
|
||||
|
||||
1
third-party/mexui/Core/Component/Event.js
vendored
1
third-party/mexui/Core/Component/Event.js
vendored
@@ -3,4 +3,3 @@ mexui.Component.Event = function()
|
||||
this.used = false;
|
||||
this.clickedAControl = false;
|
||||
};
|
||||
|
||||
|
||||
1
third-party/mexui/Core/Component/Window.js
vendored
1
third-party/mexui/Core/Component/Window.js
vendored
@@ -386,4 +386,3 @@ mexui.Component.Window.prototype.tree = function(x, y, w, h, styles, callback)
|
||||
mexui.Component.Window.prototype.week = function(x, y, w, h, text, styles, callback) { return this.addControl(new mexui.Control.Week(this, x, y, w, h, text, styles, callback)); };
|
||||
mexui.Component.Window.prototype.weekDay = function(x, y, w, h, text, styles, callback) { return this.addControl(new mexui.Control.WeekDay(this, x, y, w, h, text, styles, callback)); };
|
||||
mexui.Component.Window.prototype.year = function(x, y, w, h, text, styles, callback) { return this.addControl(new mexui.Control.Year(this, x, y, w, h, text, styles, callback)); };
|
||||
|
||||
|
||||
1
third-party/mexui/Core/Control/Grid.js
vendored
1
third-party/mexui/Core/Control/Grid.js
vendored
@@ -127,4 +127,3 @@ mexui.Control.Grid.prototype.getAllEntriesLength = function(axisIndex)
|
||||
return this.axis.y.getAllEntriesLength2();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
1
third-party/mexui/Core/Control/List.js
vendored
1
third-party/mexui/Core/Control/List.js
vendored
@@ -59,4 +59,3 @@ mexui.Control.List.prototype.row = function(text)
|
||||
this.axis.y.addEntry(entry);
|
||||
return entry;
|
||||
};
|
||||
|
||||
|
||||
1
third-party/mexui/Core/Control/Slider.js
vendored
1
third-party/mexui/Core/Control/Slider.js
vendored
@@ -113,4 +113,3 @@ mexui.Control.Slider.prototype.clampProgress = function()
|
||||
else if(this.progress > 1.0)
|
||||
this.progress = 1.0;
|
||||
};
|
||||
|
||||
|
||||
1
third-party/mexui/Core/Control/Tree.js
vendored
1
third-party/mexui/Core/Control/Tree.js
vendored
@@ -153,4 +153,3 @@ mexui.Control.Tree.prototype.row = function(text)
|
||||
this.axis.y.addEntry(entry);
|
||||
return entry;
|
||||
};
|
||||
|
||||
|
||||
1
third-party/mexui/Core/Entity/ControlAxis.js
vendored
1
third-party/mexui/Core/Entity/ControlAxis.js
vendored
@@ -197,4 +197,3 @@ mexui.Entity.ControlAxis.prototype.getDisplayedEntryCount = function()
|
||||
var displayedEntryCount = Math.floor(displayedEntriesLength / this.control.entrySize[this.axisIndex]);
|
||||
return this.entries.length < displayedEntryCount ? this.entries.length : displayedEntryCount;
|
||||
};
|
||||
|
||||
|
||||
@@ -95,4 +95,3 @@ mexui.Entity.ControlWithEntries.prototype.removeAllEntries = function()
|
||||
this.axis.x.removeAllEntries();
|
||||
this.axis.y.removeAllEntries();
|
||||
};
|
||||
|
||||
|
||||
@@ -207,4 +207,3 @@ mexui.Entity.StyleableEntity.prototype.getTransitionTimeStyle = function(control
|
||||
else
|
||||
return mexui.Entity.Transition.defaultTransitionTime;
|
||||
};
|
||||
|
||||
|
||||
1
third-party/mexui/Core/Entity/Transition.js
vendored
1
third-party/mexui/Core/Entity/Transition.js
vendored
@@ -181,4 +181,3 @@ mexui.Entity.Transition.prototype.clearDelayTimer = function()
|
||||
clearTimeout(this.delayTimer);
|
||||
this.delayTimer = null;
|
||||
};
|
||||
|
||||
|
||||
1
third-party/mexui/Core/Entry/GridRow.js
vendored
1
third-party/mexui/Core/Entry/GridRow.js
vendored
@@ -10,4 +10,3 @@ mexui.util.extend(mexui.Entry.GridRow, mexui.Component.Entry);
|
||||
|
||||
// default styles
|
||||
mexui.Entry.GridRow.defaultStyles = mexui.util.linkStyles(mexui.Entity.StyleableEntity.defaultStyles, {});
|
||||
|
||||
|
||||
1
third-party/mexui/Core/Native.js
vendored
1
third-party/mexui/Core/Native.js
vendored
@@ -151,4 +151,3 @@ mexui.native.drawImage = function(position, size, image, styles)
|
||||
{
|
||||
drawing.drawRectangle(image, position, size);
|
||||
};
|
||||
|
||||
|
||||
1
third-party/mexui/mexui.js
vendored
1
third-party/mexui/mexui.js
vendored
@@ -297,4 +297,3 @@ mexui.setInput = function(showInput)
|
||||
// }
|
||||
//}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user