PageSourceSearch

https://codajs.netlify.app/assets/js/19.7bb0fe76.js

js codajs.netlify.app collected 2026-10-03 10:35:31 UTC 1,630 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[19],{280:function(n,e,t){},297:function(n,e,t){"use strict";t(280)},306:function(n,e,t){"use strict";t.r(e);var o={name:"CodeExample",data:()=>({uiContainer:"ui-xxxxxxxxxxxx".replace(/[x]/g,()=>(16*Math.random()|0).toString(16)),running:!1,consoleMsg:"",consoleError:!1}),computed:{code(){return this.$slots.default[0].elm.innerText}},mounted(){document.documentElement.addEventListener("mousedown",this.mousedown,!0)},methods:{run(){this.runSnippet=sandbox.createSandbox(this.uiContainer,(n,e)=>{this.consoleMsg=n,e&&(this.consoleError=!0,setTimeout(()=>{this.consoleError=!1},200))}),this.runSnippet(this.code.replace(/console.log/g,"log")),this.running=!0},stop(){this.runSnippet("clear();"),this.running=!1},mousedown(){sandbox.Master.audioContext.resume(),console.log("sandbox.Master",sandbox.Master),document.documentElement.removeEventListener("mousedown",this.mousedown,!0)}}},s=(t(297),t(14)),i=Object(s.a)(o,(function(){var n=this,e=n._self._c;return e("div",{staticClass:"coda-code-example"},[e("div",{staticClass:"editor"},[n._t("default"),n._v(" "),e("button",{attrs:{type:n.running?"danger":"success"},on:{click:function(e){n.running?n.stop():n.run()}}},[n._v("\n      "+n._s(n.running?"stop":"run")+"\n    ")])],2),n._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:n.running,expression:"running"}],staticStyle:{position:"relative"}},[e("div",{staticClass:"console",class:n.consoleError&&"error"},[n._v(n._s(n.consoleMsg))]),n._v(" "),e("div",{staticClass:"ui",attrs:{id:n.uiContainer}})])])}),[],!1,null,"13cd7761",null);e.default=i.exports}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.