Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make it compatible with superpowers-core v5: update compilation targe…
…t from es5 to es6
- Loading branch information
1 parent
7ce48c7
commit 00f36e1
Showing
17 changed files
with
154,050 additions
and
101,883 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
gitignore/* | ||
node_modules/* | ||
!node_modules/operational-transform | ||
|
||
project/**/*.js | ||
# those js files are created when the typescript gulp tasks run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,32 @@ | ||
"use strict"; | ||
var __extends = (this && this.__extends) || function (d, b) { | ||
for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; | ||
function __() { this.constructor = d; } | ||
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
}; | ||
var FTextSettingsResource = (function (_super) { | ||
__extends(FTextSettingsResource, _super); | ||
function FTextSettingsResource(id, pub, serverData) { | ||
_super.call(this, id, pub, FTextSettingsResource.schema, serverData); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
class FTextSettingsResource extends SupCore.Data.Base.Resource { | ||
constructor(id, pub, serverData) { | ||
super(id, pub, FTextSettingsResource.schema, serverData); | ||
} | ||
FTextSettingsResource.prototype.init = function (callback) { | ||
var pub = {}; | ||
for (var name_1 in FTextSettingsResource.defaultValues) { | ||
pub[name_1] = FTextSettingsResource.defaultValues[name_1]; | ||
init(callback) { | ||
let pub = {}; | ||
for (let name in FTextSettingsResource.defaultValues) { | ||
pub[name] = FTextSettingsResource.defaultValues[name]; | ||
} | ||
this.pub = pub; | ||
_super.prototype.init.call(this, callback); | ||
}; | ||
FTextSettingsResource.schema = { | ||
styleActiveLine: { type: "boolean", mutable: true }, | ||
showTrailingSpace: { type: "boolean", mutable: true }, | ||
autoCloseBrackets: { type: "boolean", mutable: true }, | ||
matchTags: { type: "boolean", mutable: true }, | ||
highlightSelectionMatches: { type: "boolean", mutable: true }, | ||
lint: { type: "boolean", mutable: true } | ||
}; | ||
FTextSettingsResource.defaultValues = { | ||
styleActiveLine: true, | ||
autoCloseBrackets: true, | ||
showTrailingSpace: true, | ||
matchTags: true, | ||
highlightSelectionMatches: true, | ||
lint: true, | ||
}; // note 07/09/15 for some reason, not having a coma after the last entry would cause the defaultValues not to be read in the settings editor... | ||
return FTextSettingsResource; | ||
}(SupCore.Data.Base.Resource)); | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
super.init(callback); | ||
} | ||
} | ||
FTextSettingsResource.schema = { | ||
styleActiveLine: { type: "boolean", mutable: true }, | ||
showTrailingSpace: { type: "boolean", mutable: true }, | ||
autoCloseBrackets: { type: "boolean", mutable: true }, | ||
matchTags: { type: "boolean", mutable: true }, | ||
highlightSelectionMatches: { type: "boolean", mutable: true }, | ||
lint: { type: "boolean", mutable: true } | ||
}; | ||
FTextSettingsResource.defaultValues = { | ||
styleActiveLine: true, | ||
autoCloseBrackets: true, | ||
showTrailingSpace: true, | ||
matchTags: true, | ||
highlightSelectionMatches: true, | ||
lint: true, | ||
}; // note 07/09/15 for some reason, not having a coma after the last entry would cause the defaultValues not to be read in the settings editor... | ||
exports.default = FTextSettingsResource; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
require("./ui"); | ||
require("./network"); |
Oops, something went wrong.