appsoma-ide

The widget ide used on appsoma welder

Usage no npm install needed!

<script type="module">
  import appsomaIde from 'https://cdn.skypack.dev/appsoma-ide';
</script>

README

Appsoma Cache Widget

The welder ide widget, used on appsoma welder

Contents

How to use

var IDE = require("appsoma-ide"); var ide = new IDE({file_dao:file_dao}); $("body").html(ide.render())

file_dao is an object that should have:

  • getContent(path,cb): Get contents of path and calls cb with the result
  • saveContent(path,contents,cb): Saves contents to path and calls cb with the result.
  • delete(path,cb): Deletes path and calls cb with the result