Closure Stylesheets (GSS) mode
+ + + +A mode for Closure Stylesheets (GSS).
+MIME type defined: text/x-gss
.
diff --git a/.eslintrc.json b/.eslintrc.json index b52b218..639ad0e 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -19,7 +19,7 @@ "computed-property-spacing": ["error", "never"], "consistent-return": "error", "consistent-this": "off", - "curly": "error", + "curly": "off", "default-case": "error", "dot-location": ["error", "property"], "dot-notation": "error", @@ -28,7 +28,7 @@ "func-names": "off", "func-style": ["error", "declaration", { "allowArrowFunctions": true }], "generator-star-spacing": "error", - "global-require": "error", + "global-require": "off", "guard-for-in": "error", "handle-callback-err": "error", "id-blacklist": "error", @@ -46,7 +46,7 @@ "new-parens": "error", "newline-after-var": "off", "newline-before-return": "off", - "newline-per-chained-call": "error", + "newline-per-chained-call": "off", "no-alert": "off", "no-array-constructor": "error", "no-bitwise": "off", @@ -115,12 +115,12 @@ "no-shadow": "error", "no-shadow-restricted-names": "error", "no-spaced-func": "error", - "no-sync": "error", + "no-sync": "off", "no-ternary": "off", "no-throw-literal": "error", "no-trailing-spaces": "error", "no-undef-init": "error", - "no-undefined": "error", + "no-undefined": "off", "no-underscore-dangle": "error", "no-unmodified-loop-condition": "error", "no-unneeded-ternary": "error", @@ -138,7 +138,7 @@ "no-warning-comments": "off", "no-whitespace-before-property": "error", "no-with": "error", - "object-curly-spacing": ["error", "always"], + "object-curly-spacing": "off", "object-property-newline": "off", "object-shorthand": "off", "one-var": "off", @@ -200,6 +200,8 @@ "escodegen": true, "utils": true, "Promise": true, - "Inlet": true + "Inlet": true, + "db": true, + "firebase": true } } diff --git a/app/FiraCode.ttf b/app/FiraCode.ttf new file mode 100644 index 0000000..575c21b Binary files /dev/null and b/app/FiraCode.ttf differ diff --git a/app/Fixedsys.ttf b/app/Fixedsys.ttf new file mode 100644 index 0000000..2e8723b Binary files /dev/null and b/app/Fixedsys.ttf differ diff --git a/app/Inconsolata.ttf b/app/Inconsolata.ttf new file mode 100755 index 0000000..bbc9647 Binary files /dev/null and b/app/Inconsolata.ttf differ diff --git a/app/Monoid.ttf b/app/Monoid.ttf new file mode 100644 index 0000000..a09e9fa Binary files /dev/null and b/app/Monoid.ttf differ diff --git a/app/icon-48.png b/app/icon-48.png new file mode 100644 index 0000000..96ae8e7 Binary files /dev/null and b/app/icon-48.png differ diff --git a/app/index.html b/app/index.html new file mode 100644 index 0000000..5108f08 --- /dev/null +++ b/app/index.html @@ -0,0 +1,589 @@ + +
+ +Note: You can load external scripts from following 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/, https://rawgit.com, https://wzrd.in
+ + ++ +
++ +
+A mode for Closure Stylesheets (GSS).
+MIME type defined: text/x-gss
.
The LESS mode is a sub-mode of the CSS mode (defined in css.js
).
The SCSS mode is a sub-mode of the CSS mode (defined in css.js
).
This is a specialization of the JavaScript mode.
+This is a specialization of the JavaScript mode.
+ Ctrl/⌘ + Shift + ?
or click keyboard button in footer.allowfullscreen
attribute on iframes. Thanks ClassicOldSong.console.clear()
now doesn't error and clears the inbuilt console.Made with 💖 & 🙌 by Kushagra Gour
+Tweet out your feature requests, comments & suggestions to @webmakerApp.
+Like this extension? Please rate it here.
+
+
+
+
+ + Ctrl/⌘ + Shift + ? + + See keyboard shortcuts +
++ + Ctrl/⌘ + Shift + 5 + + Refresh preview +
++ + Ctrl/⌘ + S + + Save current creations +
++ + Ctrl/⌘ + O + + Open list of saved creations +
++ + Ctrl + L + + Clear console (works when console input is focused) +
++ + Esc + + Close saved creations panel & modals +
++ + Ctrl/⌘ + F + + Find +
++ + Ctrl/⌘ + G + + Select next match +
++ + Ctrl/⌘ + Shift + G + + Select previous match +
++ + Ctrl/⌘ + Opt/Alt + F + + Find & replace +
++ + Shift + Tab + + Realign code +
++ + Ctrl/⌘ + ] + + Indent code right +
++ + Ctrl/⌘ + [ + + Indent code left +
++ + Tab + + Emmet code completion Read more +
++ + Ctrl/⌘ + / + + Single line comment +
++ +
++ +
++ +
++ Join a community of 50,000+ Developers +
+
+ Open Web Maker anytime by clicking the
+
+ Configure and customize settings by clicking the gear icon (
+
+ Follow @webmakerApp to know about the new upcoming + features! +
++ +
\ No newline at end of file diff --git a/app/script.js b/app/script.js new file mode 100644 index 0000000..72157a3 --- /dev/null +++ b/app/script.js @@ -0,0 +1 @@ +'serviceWorker'in navigator&&window.addEventListener('load',function(){navigator.serviceWorker.register('service-worker.js').then(function(e){e.onupdatefound=function(){var t=e.installing;t.onstatechange=function(){switch(t.state){case'installed':navigator.serviceWorker.controller?console.log('New or updated content is available.'):console.log('Content is now available offline!');break;case'redundant':console.error('The installing service worker became redundant.');}}}}).catch(function(t){console.error('Error during service worker registration:',t)})}),function(){window.DEBUG=-1o?-1:1);return(0>o?d.inclusiveLeft:d.inclusiveRight)&&(c=Pe(e,c,o,c.line==t.line?a:null)),c?Re(e,c,t,o,r):null}}return t}function Oe(e,t,n,o,r){var a=o||1,i=Re(e,t,n,a,r)||!r&&Re(e,t,n,a,!0)||Re(e,t,n,-a,r)||!r&&Re(e,t,n,-a,!0);return i?i:(e.cantEdit=!0,qa(e.first,0))}function Pe(e,t,n,o){return 0>n&&0==t.ch?t.line>e.first?ge(e,qa(t.line-1)):null:0wa&&!s&&(!p||!p.left&&!p.right)){var u=a.parentNode.getClientRects()[0];p=u?{left:u.left,right:u.left+vt(e.display),top:u.top,bottom:u.bottom}:Ga}for(var h=p.top-t.rect.top,m=p.bottom-t.rect.top,g=t.view.measure.heights,c=0;cs+d){var h=ga(n,(u?p:r)-d);h!=s&&(l.scrollTop=h)}var m=e.curOp&&null!=e.curOp.scrollLeft?e.curOp.scrollLeft:a.scroller.scrollLeft,g=Ge(e)-(e.options.fixedGutter?a.gutters.offsetWidth:0),f=o-t>g;return f&&(o=t+g),10>t?l.scrollLeft=0:tt.args.length?void De(e,e.getOption("theme")):void e.setOption("theme",t.args[0])},map:function(e,t,n){var o=t.args;return!o||2>o.length?void(e&&De(e,"Invalid mapping: "+t.input)):void _t.map(o[0],o[1],n)},imap:function(e,t){this.map(e,t,"insert")},nmap:function(e,t){this.map(e,t,"normal")},vmap:function(e,t){this.map(e,t,"visual")},unmap:function(e,t,n){var o=t.args;return!o||1>o.length?void(e&&De(e,"No such mapping: "+t.input)):void _t.unmap(o[0],n)},move:function(e,t){Et.processCommand(e,e.state.vim,{type:"motion",motion:"moveToLineOrEdgeOfDocument",motionArgs:{forward:!1,explicitRepeat:!0,linewise:!0},repeatOverride:t.line+1})},set:function(e,t){var n=t.args,o=t.setCfg||{};if(!n||1>n.length)return void(e&&De(e,"Invalid mapping: "+t.input));var r=n[0].split("="),a=r[0],i=r[1],s=!1;if("?"==a.charAt(a.length-1)){if(i)throw Error("Trailing characters: "+t.argString);a=a.substring(0,a.length-1),s=!0}void 0===i&&"no"==a.substring(0,2)&&(a=a.substring(2),i=!1);var d=bt[a]&&"boolean"==bt[a].type;if(d&&void 0==i&&(i=!0),!d&&void 0===i||s){var l=w(a,e,o);!0===l||!1===l?De(e," "+(l?"":"no")+a):De(e," "+a+"="+l)}else T(a,i,e,o)},setlocal:function(e,t){t.setCfg={scope:"local"},this.set(e,t)},setglobal:function(e,t){t.setCfg={scope:"global"},this.set(e,t)},registers:function(e,t){var n=t.args,o=Ct.registerController.registers,r="----------Registers----------
";if(!n)for(var a in o){var s=o[a].toString();s.length&&(r+="\""+a+" "+s+"
")}else{var a;n=n.join("");for(var d=0;d