Skip to content

Commit

Permalink
Bump version to v0.3.1, for Superpowers v0.19.
Browse files Browse the repository at this point in the history
  • Loading branch information
florentpoujol committed Jan 14, 2016
1 parent 5b46397 commit 92fe4c6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions data/fTextAsset.js
Expand Up @@ -29,7 +29,7 @@ var fTextAsset = (function (_super) {
};
fTextAsset.prototype.restore = function () {
if (this.hasDraft)
this.emit("setDiagnostic", "draft", "info");
this.emit("setBadge", "draft", "info");
};
fTextAsset.prototype.destroy = function (callback) {
callback();
Expand Down Expand Up @@ -93,7 +93,7 @@ var fTextAsset = (function (_super) {
callback(null, operation.serialize(), this.document.getRevisionId() - 1);
if (!this.hasDraft) {
this.hasDraft = true;
this.emit("setDiagnostic", "draft", "info");
this.emit("setBadge", "draft", "info");
}
this.emit("change");
};
Expand All @@ -109,7 +109,7 @@ var fTextAsset = (function (_super) {
callback(null);
if (this.hasDraft) {
this.hasDraft = false;
this.emit("clearDiagnostic", "draft");
this.emit("clearBadge", "draft");
}
this.emit("change");
};
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "superpowers-game-ftext-plugin",
"version": "0.3.0",
"version": "0.3.1",
"description": "Generic text asset for the Superpowers Game system of Superpowers, the extensible HTML5 2D+3D game engine.",
"homepage": "https://github.com/florentpoujol/superpowers-game-ftext-plugin",
"repository": {
Expand Down
6 changes: 3 additions & 3 deletions public/bundles/data.js
Expand Up @@ -325,7 +325,7 @@ var fTextAsset = (function (_super) {
};
fTextAsset.prototype.restore = function () {
if (this.hasDraft)
this.emit("setDiagnostic", "draft", "info");
this.emit("setBadge", "draft", "info");
};
fTextAsset.prototype.destroy = function (callback) {
callback();
Expand Down Expand Up @@ -389,7 +389,7 @@ var fTextAsset = (function (_super) {
callback(null, operation.serialize(), this.document.getRevisionId() - 1);
if (!this.hasDraft) {
this.hasDraft = true;
this.emit("setDiagnostic", "draft", "info");
this.emit("setBadge", "draft", "info");
}
this.emit("change");
};
Expand All @@ -405,7 +405,7 @@ var fTextAsset = (function (_super) {
callback(null);
if (this.hasDraft) {
this.hasDraft = false;
this.emit("clearDiagnostic", "draft");
this.emit("clearBadge", "draft");
}
this.emit("change");
};
Expand Down
1 change: 1 addition & 0 deletions public/editors/ftext/index.ru.html
@@ -0,0 +1 @@
<!DOCTYPE html><html><head><link rel="stylesheet" href="/styles/reset.css"><link rel="stylesheet" href="/styles/perfectResize.css"><link rel="stylesheet" href="/styles/dialogs.css"><link rel="stylesheet" href="../../textEditorWidget/index.css"><link rel="stylesheet" href="index.css"></head><body><div class="text-editor-container"><textarea disabled class="text-editor"></textarea></div><div class="error-pane"><div class="status"><div class="draft"><button title="Apply changes (Ctrl+S)" disabled>Saved</button></div><div class="errorInfo"> </div></div></div><script src="/SupCore.js"></script><script src="/SupClient.js"></script><script src="../../../../../SupEngine.js"></script><script src="../../bundles/data.js"></script><script src="../../bundles/components.js"></script><script src="../../textEditorWidget/index.js"></script><script src="index.js"></script></body></html>

0 comments on commit 92fe4c6

Please sign in to comment.