Web Maker v2.4.1
+Web Maker v2.4.2
Made with 💖 & 🙌 by Kushagra Gour
Tweet out your feature requests, comments & suggestions to @webmakerApp.
@@ -387,6 +387,17 @@Whats new?
+-
+
- Improved infinite loop protection: Infinite loop protection is now faster and more reliable. And works without the need of Escodegen. Thanks to Ariya Hidayat! +
- Bugfix - Default parameters not working in JavaScript is fixed. + +
- Suggest features or report bugs. +
- Thank you for being a part of this community of thousands of awesome developers. If you find Web Maker helpful, Please rate Web Maker & share it. +
-
@@ -398,9 +409,6 @@
- Important: Due to security policy changes from Chrome 57 onwards, Web Maker now allows loading external JavaScript libraries only from certain whitelisted domains (localhost, https://ajax.googleapis.com, https://code.jquery.com, https://cdnjs.cloudflare.com, https://unpkg.com, https://maxcdn.com, https://cdn77.com, https://maxcdn.bootstrapcdn.com, https://cdn.jsdelivr.net/)
- Save button now highlights when you have unsaved changes.
- Jade is now called Pug. Just a name change. - -
- Suggest features or report bugs. -
- Thank you for being a part of this community of thousands of awesome developers. If you find Web Maker helpful, Please rate Web Maker & share it.
Web Maker v2.4.2
+Web Maker v2.4.3
Made with 💖 & 🙌 by Kushagra Gour
Tweet out your feature requests, comments & suggestions to @webmakerApp.
diff --git a/src/manifest.json b/src/manifest.json index d69a2ac..aafc055 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -10,7 +10,7 @@ "
Awesome libraries used
-
-
- Hint.css - By me :) +
- Hint.css & Screenlog.js - By me :)
- Split.js - Nathan Cahill
- Codemirror - Marijn Haverbeke
- Emmet - Sergey Chikuyonok diff --git a/src/script.js b/src/script.js index cbf55d6..63d7cf0 100644 --- a/src/script.js +++ b/src/script.js @@ -460,6 +460,7 @@ runBtn, searchInput, consoleEl, consoleLogEl scope.cm.html.setValue(currentItem.html); scope.cm.css.setValue(currentItem.css); scope.cm.js.setValue(currentItem.js); + scope.consoleCm.setValue(''); scope.cm.html.refresh(); scope.cm.css.refresh(); scope.cm.js.refresh(); @@ -701,6 +702,7 @@ runBtn, searchInput, consoleEl, consoleLogEl window.previewException = function (error) { console.error('Possible infinite loop detected.', error.stack) + window.onMessageFromConsole('Possible infinite loop detected.', error.stack); } window.onunload = function () { saveCode('code'); @@ -1330,7 +1332,7 @@ runBtn, searchInput, consoleEl, consoleLogEl window.onMessageFromConsole = function() { [...arguments].forEach(function(arg) { if (arg && arg.indexOf && arg.indexOf('filesystem:chrome-extension') !== -1) { - arg = arg.replace(/filesystem:chrome-extension.*\.js:(\d+):(\d+)/g, 'script $1:$2'); + arg = arg.replace(/filesystem:chrome-extension.*\.js:(\d+):*(\d*)/g, 'script $1:$2'); } scope.consoleCm.replaceRange('\n' + arg + ' ' + ((arg + '').match(/\[object \w+]/) ? JSON.stringify(arg) : ''), { line: Infinity }); scope.consoleCm.scrollTo(0, Infinity); diff --git a/src/style.css b/src/style.css index 7143cca..740df45 100644 --- a/src/style.css +++ b/src/style.css @@ -269,7 +269,7 @@ li.CodeMirror-hint-active { #demo-frame { border: 0; width: 100%; - height: 100%; + height: calc(100% - 29px); /* minus minimized console height */ position: absolute; z-index: 1; background: white; From 1e239a424fa70925e82d7a5af20fa6bafe75852f Mon Sep 17 00:00:00 2001 From: Kushagra Gour