diff options
| author | jmoenig <jens@moenig.org> | 2015-02-23 15:15:46 +0100 |
|---|---|---|
| committer | jmoenig <jens@moenig.org> | 2015-02-23 15:15:46 +0100 |
| commit | 1f88f65e9d9caf277dfedd5fe447e3cdcfd6cdf9 (patch) | |
| tree | 13a2e4d62ecb93f32d494e1d213e70742cd8aab4 | |
| parent | e6dcf07b3de5cac657fc453d1da7814091a53500 (diff) | |
| download | snap-yow-1f88f65e9d9caf277dfedd5fe447e3cdcfd6cdf9.tar.gz snap-yow-1f88f65e9d9caf277dfedd5fe447e3cdcfd6cdf9.zip | |
Avoid incompatibility warning for very old (pre-earmarked) projects
| -rwxr-xr-x | history.txt | 1 | ||||
| -rw-r--r-- | store.js | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/history.txt b/history.txt index 50464ee..c73e5ff 100755 --- a/history.txt +++ b/history.txt @@ -2446,3 +2446,4 @@ ______ ------ * Blocks, Objects: Add user-interaction choices to the “When I am ...” hat block * Update German translation +* Store: Avoid incompatibility warning for very old (pre-earmarked) projects @@ -61,7 +61,7 @@ SyntaxElementMorph, Variable*/ // Global stuff //////////////////////////////////////////////////////// -modules.store = '2015-January-21'; +modules.store = '2015-February-23'; // XML_Serializer /////////////////////////////////////////////////////// @@ -320,7 +320,7 @@ SnapSerializer.prototype.loadProjectModel = function (xmlNode, ide) { var appInfo = xmlNode.attributes.app, app = appInfo ? appInfo.split(' ')[0] : null; - if (ide && app !== this.app.split(' ')[0]) { + if (ide && app && app !== this.app.split(' ')[0]) { ide.inform( app + ' Project', 'This project has been created by a different app:\n\n' + |
