• 0.4.0 46f3a07c85

    0.4.0 Pre-release

    vlw released this 2021-12-26 14:07:37 +01:00 | 1 commits to master since this release

    What's Changed

    Full Changelog: https://github.com/VictorWesterlund/monkeydo/compare/0.3.0...0.4.0

    Downloads
  • 0.3.0 22eda97800

    0.3.0 Pre-release

    vlw released this 2021-11-10 14:48:14 +01:00 | 3 commits to master since this release

    Changes in 0.3.0

    Code for MessageEvent and postMessage() have been replaced with an abstraction layer with Comlink

    This pre-release directly implements PR #2

    Downloads
  • 0.2.2 c713bb8755

    0.2.2 Pre-release

    vlw released this 2021-10-11 16:02:06 +02:00 | 12 commits to master since this release

    Changes in 0.2.2

    • "Main" worker folder has been renamed to "do"; should other workers (for example the planned feature "see") come to fruition.
    • Minor code changes
    Downloads
  • 0.2.1 c275186126

    0.2.1 Pre-release

    vlw released this 2021-10-07 14:11:36 +02:00 | 19 commits to master since this release

    Changes in 0.2.1

    This pre-release contains major changes to manifest structure and task execution.
    See the related PR for more details

    Downloads
  • 0.1.0 19fa7ed3af

    0.1.0 Pre-release

    vlw released this 2021-10-06 12:38:36 +02:00 | 23 commits to master since this release

    First working pre-release of Monkeydo

    This pre-release contains code functional enough to load and schedule tasks from a version 0.1 Monkeydo manifest.

    Sample code

    import { default as Monkeydo } from "./modules/Monkeydo/Monkeydo.mjs";
    
    const style = document.createElement("style");
    style.innerText = "#animateme{position:absolute;width:20px;height:20px;background-color:red;}";
    document.head.appendChild(style);
    
    const animateme = document.createElement("div");
    animateme.id = "animateme";
    animateme.moveTo = (x,y) => animateme.style.setProperty("transform",`translate(${x}px,${y}px)`);
    document.body.insertAdjacentElement("afterbegin",animateme);
    
    const manifest = {
    	"header": {
    		"version": "0.1",
    		"mode": 0
    	},
    	"body": [
    		{
    			"wait": 1,
    			"do": "animateme.moveTo(10,10)"
    		},
    		{
    			"wait": 1000,
    			"do": "animateme.moveTo(50,50)"
    		},
    		{
    			"wait": 400,
    			"do": "animateme.moveTo(300,300)"
    		}
    	]
    };
    
    window.mkd = new Monkeydo();
    window.mkd.monkeydo.debug = true;
    window.mkd.load(JSON.stringify(manifest)).then(() => window.mkd.do());
    
    Downloads