Add EOF newlines to all files that don't have it already for consistency
This commit is contained in:
parent
0770f32ef5
commit
931b6a96d0
27 changed files with 27 additions and 27 deletions
|
|
@ -152,4 +152,4 @@ export default {
|
||||||
preAspectEmbed,
|
preAspectEmbed,
|
||||||
preUntypedEmbed,
|
preUntypedEmbed,
|
||||||
getRollData,
|
getRollData,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -7,4 +7,4 @@ async function _preCreate(_data, _options, _user) {
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
_preCreate,
|
_preCreate,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -111,4 +111,4 @@ Hooks.once(`ready`, () => {
|
||||||
ui.sidebar.tabs[defaultTab].activate();
|
ui.sidebar.tabs[defaultTab].activate();
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -103,4 +103,4 @@ export async function preloadIcons() {
|
||||||
};
|
};
|
||||||
|
|
||||||
return parsedIcons;
|
return parsedIcons;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
export function createArray(...args) {
|
export function createArray(...args) {
|
||||||
return args.slice(0, -1);
|
return args.slice(0, -1);
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -11,4 +11,4 @@ export function detailsExpanded(expanded, collapseId) {
|
||||||
return `open`;
|
return `open`;
|
||||||
}
|
}
|
||||||
return ``;
|
return ``;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -28,4 +28,4 @@ export default {
|
||||||
"xor": (a, b) => (a || b) && !(a && b),
|
"xor": (a, b) => (a || b) && !(a && b),
|
||||||
"xnor": (a, b) => !((a || b) && !(a && b)),
|
"xnor": (a, b) => !((a || b) && !(a && b)),
|
||||||
"defined": v => v != null,
|
"defined": v => v != null,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -8,4 +8,4 @@ export function objectValue(obj, keypath) {
|
||||||
};
|
};
|
||||||
let resp = helper(obj, keypath.string.split(`.`));
|
let resp = helper(obj, keypath.string.split(`.`));
|
||||||
return resp;
|
return resp;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -7,4 +7,4 @@ export function schemaOptions(document, schemaPath) {
|
||||||
}
|
}
|
||||||
|
|
||||||
return CONFIG.Actor.dataModels.player.schema.fields.weapon.fields.mainHand.fields.damage.options.options;
|
return CONFIG.Actor.dataModels.player.schema.fields.weapon.fields.mainHand.fields.damage.options.options;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -23,4 +23,4 @@ export function toFriendlyDuration(duration) {
|
||||||
friendly += `${duration}s`;
|
friendly += `${duration}s`;
|
||||||
};
|
};
|
||||||
return friendly;
|
return friendly;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -38,4 +38,4 @@ const loaders = {
|
||||||
Hooks.on(`hotReload`, async (data) => {
|
Hooks.on(`hotReload`, async (data) => {
|
||||||
if (!loaders[data.extension]) return;
|
if (!loaders[data.extension]) return;
|
||||||
return loaders[data.extension](data);
|
return loaders[data.extension](data);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -155,4 +155,4 @@ export class PlayerData extends foundry.abstract.TypeDataModel {
|
||||||
inventoryString: new fields.StringField({ blank: true, trim: true }),
|
inventoryString: new fields.StringField({ blank: true, trim: true }),
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -8,4 +8,4 @@ export class AspectItemData extends foundry.abstract.TypeDataModel {
|
||||||
info: new fields.HTMLField({ nullable: true, blank: false, trim: true }),
|
info: new fields.HTMLField({ nullable: true, blank: false, trim: true }),
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -18,4 +18,4 @@ export class SpellItemData extends DescribedItemData {
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -129,4 +129,4 @@ export class MappingField extends foundry.data.fields.ObjectField {
|
||||||
path.shift();
|
path.shift();
|
||||||
return this.model._getField(path);
|
return this.model._getField(path);
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
|
|
|
||||||
|
|
@ -18,4 +18,4 @@ export default function() {
|
||||||
default: true,
|
default: true,
|
||||||
requiresReload: false,
|
requiresReload: false,
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -13,4 +13,4 @@ export default function() {
|
||||||
config: false,
|
config: false,
|
||||||
requiresReload: false,
|
requiresReload: false,
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -6,4 +6,4 @@ export default function registerSettings() {
|
||||||
registerClientSettings();
|
registerClientSettings();
|
||||||
registerWorldSettings();
|
registerWorldSettings();
|
||||||
registerDevSettings();
|
registerDevSettings();
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -59,4 +59,4 @@ export default function() {
|
||||||
game.settings.set(`dotdungeon`, `preSaveAspectLimit`, floored);
|
game.settings.set(`dotdungeon`, `preSaveAspectLimit`, floored);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -114,4 +114,4 @@ export class GenericActorSheet extends ActorSheet {
|
||||||
this._expanded.delete(data.collapseId);
|
this._expanded.delete(data.collapseId);
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -25,4 +25,4 @@ export class AspectSheet extends GenericItemSheet {
|
||||||
const ctx = {};
|
const ctx = {};
|
||||||
return ctx;
|
return ctx;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -42,4 +42,4 @@ export class GenericItemSheet extends ItemSheet {
|
||||||
|
|
||||||
return ctx;
|
return ctx;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -18,4 +18,4 @@ export class UntypedItemSheet extends GenericItemSheet {
|
||||||
const ctx = await super.getData();
|
const ctx = await super.getData();
|
||||||
return ctx;
|
return ctx;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -45,4 +45,4 @@ export class MobSheet extends GenericActorSheet {
|
||||||
|
|
||||||
return ctx;
|
return ctx;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -40,4 +40,4 @@ export class PlayerSheet extends GenericActorSheet {
|
||||||
|
|
||||||
return ctx;
|
return ctx;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -30,4 +30,4 @@ export class AbstractSyncSheet extends GenericActorSheet {
|
||||||
html.find(`.use-rest-die`)
|
html.find(`.use-rest-die`)
|
||||||
.on(`click`, this.actor.useRestDie.bind(this.actor));
|
.on(`click`, this.actor.useRestDie.bind(this.actor));
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -4,4 +4,4 @@ export class BasicSyncSheet extends AbstractSyncSheet {
|
||||||
get template() {
|
get template() {
|
||||||
return `systems/dotdungeon/templates/actors/sync/basic.hbs`;
|
return `systems/dotdungeon/templates/actors/sync/basic.hbs`;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue