Skip to content

Commit

Permalink
Made some changes to ChiliPeppr myWorkspace using Cloud9
Browse files Browse the repository at this point in the history
  • Loading branch information
chilipeppr committed Oct 19, 2016
1 parent 7fbdc52 commit d2862d4
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 22 deletions.
27 changes: 16 additions & 11 deletions auto-generated-workspace.html
Original file line number Diff line number Diff line change
Expand Up @@ -144,21 +144,26 @@

$('#' + this.id).removeClass("hidden");

// Load the console widget
this.loadConsoleWidget(function() {

console.log("console widget loaded, now lets load spjs");
});


// now we can load the SPJS widget
that.loadSpjsWidget(function() {

// if we get here, we can init the Console Widget
// (we are now initting the widget immediately)
that.widgetConsole.init(true, /chilipeppr heartbeat/);
//that.widgetConsole.resize();

that.setupResize();
console.log("spjs widget loaded");

// Load the console widget
that.loadConsoleWidget(function() {

console.log("console widget loaded, now lets load spjs");

// if we get here, we can init the Console Widget
// (we are now initting the widget immediately)
that.widgetConsole.init(true, /chilipeppr heartbeat/);
//that.widgetConsole.resize();

that.setupResize();
});

})

this.loadLuaEditor();
Expand Down
27 changes: 16 additions & 11 deletions workspace.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,21 +49,26 @@ You can buy the ESP8266 on ebay.com or aliexpress.com.`,

$('#' + this.id).removeClass("hidden");

// Load the console widget
this.loadConsoleWidget(function() {

console.log("console widget loaded, now lets load spjs");
});


// now we can load the SPJS widget
that.loadSpjsWidget(function() {

// if we get here, we can init the Console Widget
// (we are now initting the widget immediately)
that.widgetConsole.init(true, /chilipeppr heartbeat/);
//that.widgetConsole.resize();

that.setupResize();
console.log("spjs widget loaded");

// Load the console widget
that.loadConsoleWidget(function() {

console.log("console widget loaded, now lets load spjs");

// if we get here, we can init the Console Widget
// (we are now initting the widget immediately)
that.widgetConsole.init(true, /chilipeppr heartbeat/);
//that.widgetConsole.resize();

that.setupResize();
});

})

this.loadLuaEditor();
Expand Down

0 comments on commit d2862d4

Please sign in to comment.