Skip to content

Instantly share code, notes, and snippets.

View cadorn's full-sized avatar

Christoph Dorn cadorn

View GitHub Profile
@cadorn
cadorn / app.js
Last active August 29, 2015 14:02
loader test
PINF.bundle("", function(require) {
require.memoize("/main.js", function(require, exports, module) {
exports.main = function(options) {
console.log("Hello from PINF loader");
document.write("Hello from PINF loader</br>");
function load() {
console.log("Load remote bundle...");
require.sandbox("https://s3.amazonaws.com/static.cadorn.net/cross-domain.js?t=" + Date.now(), {
onInitModule: function(moduleInterface, moduleObj) {
@cadorn
cadorn / main.js
Last active August 29, 2015 14:06
WebIDE Custom Runtime
let { Cc, Ci, Cu } = require('chrome');
/* const FileUtils = */ Cu.import("resource://gre/modules/FileUtils.jsm");
const TIMERS = require("sdk/timers");
const WINDOW_UTILS = require("sdk/window/utils");
const PROMISE = require("sdk/core/promise");
@cadorn
cadorn / harviewer.html
Created January 13, 2015 04:43
HTTP Archive Viewer Widget Embedding
<script src="http://fireconsole.github.io/harviewer/fireconsole/bundles/loader.js"></script>
<div id="content" version="@VERSION@"></div>
<script>
PINF.sandbox("http://fireconsole.github.io/harviewer/fireconsole/bundles/plugin.js", function (sandbox) {
sandbox.main();
}, function (err) {
console.error("Error while loading plugin.js bundle':", err.stack);
pio deplo┌──────────────────────────────┬────────────────────────────────────────┬────────────────────────────────────────────────────────────────────────────────┐
│ Group │ Service │ Host │
│ 0-pio │ pio.server │ │
│ 0-pio │ pio.postdeploy │ │
│ 0-sm │ smi.cache │ │
│ 0-sm │ smi.cli │ │
│ devcomp.meta │ io.devcomp.meta.profiles │
@cadorn
cadorn / proposal.md
Created April 29, 2015 16:14
CreateJS 2.0

Objective

Revive active development of createjs.org to fix bugs and enable new features including wider compatibility with modern web technology and frameworks.

Background

CreateJS was originally developed as part of Midgard and has since been integrated into several CMS systems including Symfony. Work originally started in 2011/2012 but has since faded as initial functionality has been accomplished. Many bugs and wishes have been collected for CreateJS and various sub-projects and it is time to reboot this effort.