From 3599580461fb51e5d98ef3784906b1a87598dec8 Mon Sep 17 00:00:00 2001 From: JPAdie Date: Tue, 7 Feb 2017 15:33:35 +0000 Subject: [PATCH 01/20] Made some changes to ChiliPeppr widget using Cloud9 --- README.md | 12 ++++++------ auto-generated-widget.html | 13 ++++++++----- widget.js | 5 ++++- 3 files changed, 18 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index ee038ef..c74db4d 100644 --- a/README.md +++ b/README.md @@ -14,10 +14,10 @@ not conflict with other ChiliPeppr widgets. | ID | com-chilipeppr-widget-autolevel | | Name | Widget / Auto-Level | | Description | Allows you to auto-level your PCB before milling. Most raw PCB boards have a slight warpage. This widget lets you probe the warpage and then it auto-scales your Gcode to match the warpage so you get very clean/predictable z-positions in your milling job. | -| chilipeppr.load() URL | http://raw.githubusercontent.com/raykholo/grbl-widget-autolevel/master/auto-generated-widget.html | -| Edit URL | http://ide.c9.io/raykholo/grbl-widget-autolevel | -| Github URL | http://github.com/raykholo/grbl-widget-autolevel | -| Test URL | https://preview.c9users.io/raykholo/grbl-widget-autolevel/widget.html | +| chilipeppr.load() URL | http://raw.githubusercontent.com/jpadie/widget-grbl-autolevel/master/auto-generated-widget.html | +| Edit URL | http://ide.c9.io/jpadie/grblautolevel | +| Github URL | http://github.com/jpadie/widget-grbl-autolevel | +| Test URL | https://preview.c9users.io/jpadie/grblautolevel/widget.html | ## Example Code for chilipeppr.load() Statement @@ -33,7 +33,7 @@ $("body").append('<' + 'div id="myDivWidgetAutolevel"><' + '/div>'); chilipeppr.load( "#myDivWidgetAutolevel", - "http://raw.githubusercontent.com/raykholo/grbl-widget-autolevel/master/auto-generated-widget.html", + "http://raw.githubusercontent.com/jpadie/widget-grbl-autolevel/master/auto-generated-widget.html", function() { // Callback after widget loaded into #myDivWidgetAutolevel // Now use require.js to get reference to instantiated widget @@ -132,7 +132,7 @@ The table below shows, in order, the methods and properties inside the widget/el - idstring"com-chilipeppr-widget-autolevel"urlstring"http://raw.githubusercontent.com/raykholo/grbl-widget-autolevel/master/auto-generated-widget.html"fiddleurlstring"http://ide.c9.io/raykholo/grbl-widget-autolevel"githuburlstring"http://github.com/raykholo/grbl-widget-autolevel"testurlstring"http://grbl-widget-autolevel-raykholo.c9users.io/widget.html"namestring"Widget / Auto-Level"descstring"Allows you to auto-level your PCB before milling. Most raw PCB boards have a slight warpage. This widget lets you probe the warpage and then it auto-scales your Gcode to match the warpage so you get very clean/predictable z-positions in your milling job."publishobjectPlease see docs above.subscribeobjectPlease see docs above.foreignPublishobjectPlease see docs above.foreignSubscribeobjectPlease see docs above.initfunctionfunction () showDatafunctionfunction () loadTextfunctionfunction () deleteRecentFilesfunctionfunction () createRecentFileEntryfunctionfunction (fileStr, info) buildRecentFileMenufunctionfunction () loadFileFromLocalStorageKeyfunctionfunction (key) loadTestDatafunctionfunction (data) matrixobjectpreviousLayerOpacitiesobjecttoggleShowMatrixfunctionfunction () isMatrixShowingbooleanshowProbeMatrixfunctionfunction () hideProbeMatrixfunctionfunction () refreshProbeMatrixfunctionfunction () isFadeOutUserObjectbooleanfadeOutUserObjectfunctionfunction () unfadeOutUserObjectfunctionfunction () sendGcodeToWorkspacefunctionfunction () envelopeViewfunctionfunction (evt, opts) autolevelledGcodeobjectenvelopefunctionfunction (options) getUnitMeshfunctionfunction () rayCastfunctionfunction () exaggerateMultnumbersetExaggeratefunctionfunction (evt) probeMeshobjectdrawMatrixfunctionfunction () removeMatrixfunctionfunction () onDisplayfunctionfunction () onUndisplayfunctionfunction () runTestProbefunctionfunction () startAutoLevelfunctionfunction () stopAutoLevelfunctionfunction () formUpdatefunctionfunction () probesobjectmaxxobjectmaxyobjectgenProbeGcodefunctionfunction () modalCompletefunctionfunction () genProbeStepsfunctionfunction () currentStepobjectisPausedbooleanpausefunctionfunction () doNextStepfunctionfunction () probeResponsefunctionfunction (result) sendfunctionfunction (gcode) statElobjectstatusfunctionfunction (txt) zsettingsobjectmodalStartfunctionfunction () autoFillDatafunctionfunction () user3dObjectobjectrecv3dObjectfunctionfunction (obj) get3dObjectFrom3dViewerfunctionfunction () bboxHelperobjectgetBboxfunctionfunction () calcStepsfunctionfunction () toggleProbeAreafunctionfunction () regionObjobjectisRegionShowingbooleanaddRegionTo3dfunctionfunction () removeRegionFrom3dfunctionfunction () makeSpritefunctionfunction (vals) makeSpriteOldfunctionfunction (vals) makeSprite2functionfunction (vals) createTextfunctionfunction (text) forkSetupfunctionfunction () + idstring"com-chilipeppr-widget-autolevel"urlstring"http://raw.githubusercontent.com/jpadie/widget-grbl-autolevel/master/auto-generated-widget.html"fiddleurlstring"http://ide.c9.io/jpadie/grblautolevel"githuburlstring"http://github.com/jpadie/widget-grbl-autolevel"testurlstring"http://grblautolevel-jpadie.c9users.io/widget.html"namestring"Widget / Auto-Level"descstring"Allows you to auto-level your PCB before milling. Most raw PCB boards have a slight warpage. This widget lets you probe the warpage and then it auto-scales your Gcode to match the warpage so you get very clean/predictable z-positions in your milling job."publishobjectPlease see docs above.subscribeobjectPlease see docs above.foreignPublishobjectPlease see docs above.foreignSubscribeobjectPlease see docs above.initfunctionfunction () showDatafunctionfunction () loadTextfunctionfunction () deleteRecentFilesfunctionfunction () createRecentFileEntryfunctionfunction (fileStr, info) buildRecentFileMenufunctionfunction () loadFileFromLocalStorageKeyfunctionfunction (key) loadTestDatafunctionfunction (data) matrixobjectpreviousLayerOpacitiesobjecttoggleShowMatrixfunctionfunction () isMatrixShowingbooleanshowProbeMatrixfunctionfunction () hideProbeMatrixfunctionfunction () refreshProbeMatrixfunctionfunction () isFadeOutUserObjectbooleanfadeOutUserObjectfunctionfunction () unfadeOutUserObjectfunctionfunction () sendGcodeToWorkspacefunctionfunction () envelopeViewfunctionfunction (evt, opts) autolevelledGcodeobjectenvelopefunctionfunction (options) getUnitMeshfunctionfunction () rayCastfunctionfunction () exaggerateMultnumbersetExaggeratefunctionfunction (evt) probeMeshobjectdrawMatrixfunctionfunction () removeMatrixfunctionfunction () onDisplayfunctionfunction () onUndisplayfunctionfunction () runTestProbefunctionfunction () startAutoLevelfunctionfunction () stopAutoLevelfunctionfunction () formUpdatefunctionfunction () probesobjectmaxxobjectmaxyobjectgenProbeGcodefunctionfunction () modalCompletefunctionfunction () genProbeStepsfunctionfunction () currentStepobjectisPausedbooleanpausefunctionfunction () doNextStepfunctionfunction () probeResponsefunctionfunction (result) sendfunctionfunction (gcode) statElobjectstatusfunctionfunction (txt) zsettingsobjectmodalStartfunctionfunction () autoFillDatafunctionfunction () user3dObjectobjectrecv3dObjectfunctionfunction (obj) get3dObjectFrom3dViewerfunctionfunction () bboxHelperobjectgetBboxfunctionfunction () calcStepsfunctionfunction () toggleProbeAreafunctionfunction () regionObjobjectisRegionShowingbooleanaddRegionTo3dfunctionfunction () removeRegionFrom3dfunctionfunction () makeSpritefunctionfunction (vals) makeSpriteOldfunctionfunction (vals) makeSprite2functionfunction (vals) createTextfunctionfunction (text) forkSetupfunctionfunction () diff --git a/auto-generated-widget.html b/auto-generated-widget.html index 06c7e4d..c60e780 100644 --- a/auto-generated-widget.html +++ b/auto-generated-widget.html @@ -191,10 +191,10 @@ return { id: "com-chilipeppr-widget-autolevel", - url: "http://raw.githubusercontent.com/raykholo/grbl-widget-autolevel/master/auto-generated-widget.html", // The final URL of the working widget as a single HTML file with CSS and Javascript inlined. You can let runme.js auto fill this if you are using Cloud9. - fiddleurl: "http://ide.c9.io/raykholo/grbl-widget-autolevel", // The edit URL. This can be auto-filled by runme.js in Cloud9 if you'd like, or just define it on your own to help people know where they can edit/fork your widget - githuburl: "http://github.com/raykholo/grbl-widget-autolevel", // The backing github repo - testurl: "http://grbl-widget-autolevel-raykholo.c9users.io/widget.html", // The standalone working widget so can view it working by itself + url: "http://raw.githubusercontent.com/jpadie/widget-grbl-autolevel/master/auto-generated-widget.html", // The final URL of the working widget as a single HTML file with CSS and Javascript inlined. You can let runme.js auto fill this if you are using Cloud9. + fiddleurl: "http://ide.c9.io/jpadie/grblautolevel", // The edit URL. This can be auto-filled by runme.js in Cloud9 if you'd like, or just define it on your own to help people know where they can edit/fork your widget + githuburl: "http://github.com/jpadie/widget-grbl-autolevel", // The backing github repo + testurl: "http://grblautolevel-jpadie.c9users.io/widget.html", // The standalone working widget so can view it working by itself name: "Widget / Auto-Level", desc: "Allows you to auto-level your PCB before milling. Most raw PCB boards have a slight warpage. This widget lets you probe the warpage and then it auto-scales your Gcode to match the warpage so you get very clean/predictable z-positions in your milling job.", publish: { @@ -1168,7 +1168,7 @@ stopAutoLevel: function() { // connect to cnccontroller for probe responses chilipeppr.unsubscribe("/com-chilipeppr-interface-cnccontroller/proberesponse",this, this.probeResponse); - + chilipeppr.publish("/com-chilipeppr-widget-grbl-autolevel/probing", false); this.isPaused = true; $('.com-chilipeppr-widget-autolevel-stop').popover('hide'); $('.com-chilipeppr-widget-autolevel-pause').popover('hide'); @@ -1326,6 +1326,8 @@ // we are just starting this.status("Starting probes"); this.currentStep = 0; + chilipeppr.publish("/com-chilipeppr-widget-grbl-autolevel/probing", true); + } else { this.currentStep++; } @@ -1341,6 +1343,7 @@ this.send(g); this.status("Done running probe. Found all Zs for " + this.probes.length + " locations"); this.stopAutoLevel(); + chilipeppr.publish("/com-chilipeppr-widget-grbl-autolevel/probing", false); // store file automatically var fileStr = JSON.stringify(this.probes); diff --git a/widget.js b/widget.js index 86abcf6..6959cdc 100644 --- a/widget.js +++ b/widget.js @@ -1077,7 +1077,7 @@ cpdefine("inline:com-chilipeppr-widget-autolevel", ["chilipeppr_ready", "ThreeHe stopAutoLevel: function() { // connect to cnccontroller for probe responses chilipeppr.unsubscribe("/com-chilipeppr-interface-cnccontroller/proberesponse",this, this.probeResponse); - + chilipeppr.publish("/com-chilipeppr-widget-grbl-autolevel/probing", false); this.isPaused = true; $('.com-chilipeppr-widget-autolevel-stop').popover('hide'); $('.com-chilipeppr-widget-autolevel-pause').popover('hide'); @@ -1235,6 +1235,8 @@ cpdefine("inline:com-chilipeppr-widget-autolevel", ["chilipeppr_ready", "ThreeHe // we are just starting this.status("Starting probes"); this.currentStep = 0; + chilipeppr.publish("/com-chilipeppr-widget-grbl-autolevel/probing", true); + } else { this.currentStep++; } @@ -1250,6 +1252,7 @@ cpdefine("inline:com-chilipeppr-widget-autolevel", ["chilipeppr_ready", "ThreeHe this.send(g); this.status("Done running probe. Found all Zs for " + this.probes.length + " locations"); this.stopAutoLevel(); + chilipeppr.publish("/com-chilipeppr-widget-grbl-autolevel/probing", false); // store file automatically var fileStr = JSON.stringify(this.probes); From 7ee0a369a86f0109e5509dde7ee8478667fd2289 Mon Sep 17 00:00:00 2001 From: JPAdie Date: Thu, 22 Jun 2017 07:11:58 +0000 Subject: [PATCH 02/20] Made some changes to ChiliPeppr widget using Cloud9 --- auto-generated-widget.html | 18 +++++++++++++++--- widget.js | 18 +++++++++++++++--- 2 files changed, 30 insertions(+), 6 deletions(-) diff --git a/auto-generated-widget.html b/auto-generated-widget.html index c60e780..936a168 100644 --- a/auto-generated-widget.html +++ b/auto-generated-widget.html @@ -91,7 +91,7 @@ // Date: Sat, 5 Aug 2017 15:33:26 +0200 Subject: [PATCH 03/20] added new button --- README.md | 182 ++++------------------------------------------------ readme.md | 14 ---- widget.html | 2 + 3 files changed, 16 insertions(+), 182 deletions(-) delete mode 100644 readme.md diff --git a/README.md b/README.md index c74db4d..fc4862a 100644 --- a/README.md +++ b/README.md @@ -1,168 +1,14 @@ -# com-chilipeppr-widget-autolevel -Allows you to auto-level your PCB before milling. Most raw PCB boards have a slight warpage. This widget lets you probe the warpage and then it auto-scales your Gcode to match the warpage so you get very clean/predictable z-positions in your milling job. - - - -## ChiliPeppr Widget / Auto-Level - -All ChiliPeppr widgets/elements are defined using cpdefine() which is a method -that mimics require.js. Each defined object must have a unique ID so it does -not conflict with other ChiliPeppr widgets. - -| Item | Value | -| ------------- | ------------- | -| ID | com-chilipeppr-widget-autolevel | -| Name | Widget / Auto-Level | -| Description | Allows you to auto-level your PCB before milling. Most raw PCB boards have a slight warpage. This widget lets you probe the warpage and then it auto-scales your Gcode to match the warpage so you get very clean/predictable z-positions in your milling job. | -| chilipeppr.load() URL | http://raw.githubusercontent.com/jpadie/widget-grbl-autolevel/master/auto-generated-widget.html | -| Edit URL | http://ide.c9.io/jpadie/grblautolevel | -| Github URL | http://github.com/jpadie/widget-grbl-autolevel | -| Test URL | https://preview.c9users.io/jpadie/grblautolevel/widget.html | - -## Example Code for chilipeppr.load() Statement - -You can use the code below as a starting point for instantiating this widget -inside a workspace or from another widget. The key is that you need to load -your widget inlined into a div so the DOM can parse your HTML, CSS, and -Javascript. Then you use cprequire() to find your widget's Javascript and get -back the instance of it. - -```javascript -// Inject new div to contain widget or use an existing div with an ID -$("body").append('<' + 'div id="myDivWidgetAutolevel"><' + '/div>'); - -chilipeppr.load( - "#myDivWidgetAutolevel", - "http://raw.githubusercontent.com/jpadie/widget-grbl-autolevel/master/auto-generated-widget.html", - function() { - // Callback after widget loaded into #myDivWidgetAutolevel - // Now use require.js to get reference to instantiated widget - cprequire( - ["inline:com-chilipeppr-widget-autolevel"], // the id you gave your widget - function(myObjWidgetAutolevel) { - // Callback that is passed reference to the newly loaded widget - console.log("Widget / Auto-Level just got loaded.", myObjWidgetAutolevel); - myObjWidgetAutolevel.init(); - } - ); - } -); - -``` - -## Publish - -This widget/element publishes the following signals. These signals are owned by this widget/element and are published to all objects inside the ChiliPeppr environment that listen to them via the -chilipeppr.subscribe(signal, callback) method. -To better understand how ChiliPeppr's subscribe() method works see amplify.js's documentation at http://amplifyjs.com/api/pubsub/ - - - - - - - - - - - -
SignalDescription
(No signals defined in this widget/element)
- -## Subscribe - -This widget/element subscribes to the following signals. These signals are owned by this widget/element. Other objects inside the ChiliPeppr environment can publish to these signals via the chilipeppr.publish(signal, data) method. -To better understand how ChiliPeppr's publish() method works see amplify.js's documentation at http://amplifyjs.com/api/pubsub/ - - - - - - - - - - - -
SignalDescription
(No signals defined in this widget/element)
- -## Foreign Publish - -This widget/element publishes to the following signals that are owned by other objects. -To better understand how ChiliPeppr's subscribe() method works see amplify.js's documentation at http://amplifyjs.com/api/pubsub/ - - - - - - - - - - - -
SignalDescription
/com-chilipeppr-widget-autolevel/com-chilipeppr-widget-3dviewer/sceneaddWe ask the 3D viewer to add THREE.js objects to the scene.
/com-chilipeppr-widget-autolevel/com-chilipeppr-widget-3dviewer/sceneremoveWe ask the 3D viewer to remove THREE.js objects from the scene.
/com-chilipeppr-widget-autolevel/com-chilipeppr-widget-3dviewer/request3dObjectWe ask the 3D viewer to send us the user object being shown in 3D viewer so we can analyze it. In particular, we want to know its bounding box for calculating the probe area.
- -## Foreign Subscribe - -This widget/element publishes to the following signals that are owned by other objects. -To better understand how ChiliPeppr's publish() method works see amplify.js's documentation at http://amplifyjs.com/api/pubsub/ - - - - - - - - - - - -
SignalDescription
/com-chilipeppr-widget-autolevel/com-chilipeppr-widget-3dviewer/recv3dObjectWhen we request a /com-chilipeppr-widget-3dviewer/request3dObject we get back this signal and the payload is the actual user object so we can analyze it.
/com-chilipeppr-widget-autolevel/com-chilipeppr-interface-cnccontroller/proberesponsewe receive the parsed probe trigger coordinates back from the cnc interface.
- -## Methods / Properties - -The table below shows, in order, the methods and properties inside the widget/element. - - - - - - - - - - - - -
Method / PropertyTypeDescription
idstring"com-chilipeppr-widget-autolevel"
urlstring"http://raw.githubusercontent.com/jpadie/widget-grbl-autolevel/master/auto-generated-widget.html"
fiddleurlstring"http://ide.c9.io/jpadie/grblautolevel"
githuburlstring"http://github.com/jpadie/widget-grbl-autolevel"
testurlstring"http://grblautolevel-jpadie.c9users.io/widget.html"
namestring"Widget / Auto-Level"
descstring"Allows you to auto-level your PCB before milling. Most raw PCB boards have a slight warpage. This widget lets you probe the warpage and then it auto-scales your Gcode to match the warpage so you get very clean/predictable z-positions in your milling job."
publishobjectPlease see docs above.
subscribeobjectPlease see docs above.
foreignPublishobjectPlease see docs above.
foreignSubscribeobjectPlease see docs above.
initfunctionfunction ()
showDatafunctionfunction ()
loadTextfunctionfunction ()
deleteRecentFilesfunctionfunction ()
createRecentFileEntryfunctionfunction (fileStr, info)
buildRecentFileMenufunctionfunction ()
loadFileFromLocalStorageKeyfunctionfunction (key)
loadTestDatafunctionfunction (data)
matrixobject
previousLayerOpacitiesobject
toggleShowMatrixfunctionfunction ()
isMatrixShowingboolean
showProbeMatrixfunctionfunction ()
hideProbeMatrixfunctionfunction ()
refreshProbeMatrixfunctionfunction ()
isFadeOutUserObjectboolean
fadeOutUserObjectfunctionfunction ()
unfadeOutUserObjectfunctionfunction ()
sendGcodeToWorkspacefunctionfunction ()
envelopeViewfunctionfunction (evt, opts)
autolevelledGcodeobject
envelopefunctionfunction (options)
getUnitMeshfunctionfunction ()
rayCastfunctionfunction ()
exaggerateMultnumber
setExaggeratefunctionfunction (evt)
probeMeshobject
drawMatrixfunctionfunction ()
removeMatrixfunctionfunction ()
onDisplayfunctionfunction ()
onUndisplayfunctionfunction ()
runTestProbefunctionfunction ()
startAutoLevelfunctionfunction ()
stopAutoLevelfunctionfunction ()
formUpdatefunctionfunction ()
probesobject
maxxobject
maxyobject
genProbeGcodefunctionfunction ()
modalCompletefunctionfunction ()
genProbeStepsfunctionfunction ()
currentStepobject
isPausedboolean
pausefunctionfunction ()
doNextStepfunctionfunction ()
probeResponsefunctionfunction (result)
sendfunctionfunction (gcode)
statElobject
statusfunctionfunction (txt)
zsettingsobject
modalStartfunctionfunction ()
autoFillDatafunctionfunction ()
user3dObjectobject
recv3dObjectfunctionfunction (obj)
get3dObjectFrom3dViewerfunctionfunction ()
bboxHelperobject
getBboxfunctionfunction ()
calcStepsfunctionfunction ()
toggleProbeAreafunctionfunction ()
regionObjobject
isRegionShowingboolean
addRegionTo3dfunctionfunction ()
removeRegionFrom3dfunctionfunction ()
makeSpritefunctionfunction (vals)
makeSpriteOldfunctionfunction (vals)
makeSprite2functionfunction (vals)
createTextfunctionfunction (text)
forkSetupfunctionfunction ()
- - -## About ChiliPeppr - -[ChiliPeppr](http://chilipeppr.com) is a hardware fiddle, meaning it is a -website that lets you easily -create a workspace to fiddle with your hardware from software. ChiliPeppr provides -a [Serial Port JSON Server](https://github.com/johnlauer/serial-port-json-server) -that you run locally on your computer, or remotely on another computer, to connect to -the serial port of your hardware like an Arduino or other microcontroller. - -You then create a workspace at ChiliPeppr.com that connects to your hardware -by starting from scratch or forking somebody else's -workspace that is close to what you are after. Then you write widgets in -Javascript that interact with your hardware by forking the base template -widget or forking another widget that -is similar to what you are trying to build. - -ChiliPeppr is massively capable such that the workspaces for -[TinyG](http://chilipeppr.com/tinyg) and [Grbl](http://chilipeppr.com/grbl) CNC -controllers have become full-fledged CNC machine management software used by -tens of thousands. - -ChiliPeppr has inspired many people in the hardware/software world to use the -browser and Javascript as the foundation for interacting with hardware. The -Arduino team in Italy caught wind of ChiliPeppr and now -ChiliPeppr's Serial Port JSON Server is the basis for the -[Arduino's new web IDE](https://create.arduino.cc/). If the Arduino team is excited about building on top -of ChiliPeppr, what -will you build on top of it? - +# widget-empty + +This is the bare minimum code required to inline separate html, css, and js files into one auto-generated-widget.html + +A video tutorial is available [here](https://youtu.be/7D1qPwtLIH0). + +If you would like to move from JSFiddle to Github/Cloud9, replace url and fiddleurl properties inside the javascript cpdefine with and add these others as well: + +``` + url: "(auto fill by runme.js)", // The final URL of the working widget as a single HTML file with CSS and Javascript inlined. You can let runme.js auto fill this if you are using Cloud9. + fiddleurl: "(auto fill by runme.js)", // The edit URL. This can be auto-filled by runme.js in Cloud9 if you'd like, or just define it on your own to help people know where they can edit/fork your widget + githuburl: "(auto fill by runme.js)", // The backing github repo + testurl: "(auto fill by runme.js)", // The standalone working widget so can view it working by itself +``` diff --git a/readme.md b/readme.md deleted file mode 100644 index fc4862a..0000000 --- a/readme.md +++ /dev/null @@ -1,14 +0,0 @@ -# widget-empty - -This is the bare minimum code required to inline separate html, css, and js files into one auto-generated-widget.html - -A video tutorial is available [here](https://youtu.be/7D1qPwtLIH0). - -If you would like to move from JSFiddle to Github/Cloud9, replace url and fiddleurl properties inside the javascript cpdefine with and add these others as well: - -``` - url: "(auto fill by runme.js)", // The final URL of the working widget as a single HTML file with CSS and Javascript inlined. You can let runme.js auto fill this if you are using Cloud9. - fiddleurl: "(auto fill by runme.js)", // The edit URL. This can be auto-filled by runme.js in Cloud9 if you'd like, or just define it on your own to help people know where they can edit/fork your widget - githuburl: "(auto fill by runme.js)", // The backing github repo - testurl: "(auto fill by runme.js)", // The standalone working widget so can view it working by itself -``` diff --git a/widget.html b/widget.html index 22cba9e..72f1d0d 100644 --- a/widget.html +++ b/widget.html @@ -311,6 +311,8 @@

Matrix Updates While Probing