var client = require('scratch-project-client')({
username: 'foo',
password: 'bar'
});
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": 1, | |
"x": 0, | |
"y": 0, | |
"history": { | |
"created_at": "2015-04-20T16:11:13.961Z", | |
"updated_at": "2015-04-20T16:11:13.961Z", | |
"deleted_at": null | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": 1, | |
"type": "image", | |
"attributes": { | |
"src": "https://cat.com/my/image/path.png" | |
}, | |
"styles": { | |
"top": "0%", | |
"left": "0%", | |
"z-index": 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package mozilla.org.webmaker.activity; | |
import android.os.Bundle; | |
import android.util.Log; | |
import android.view.Menu; | |
import android.view.MenuItem; | |
import android.widget.RelativeLayout; | |
import mozilla.org.webmaker.R; | |
import mozilla.org.webmaker.WebmakerActivity; | |
import mozilla.org.webmaker.view.WebmakerWebView; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var d3 = require('d3'); | |
var topojson = require('topojson'); | |
var Datamap = require('datamaps'); | |
// Bind to window | |
window.datamaps = {}; | |
window.datamaps.Datamap = Datamap; | |
// Render map | |
var map = new Datamap({element: document.getElementById('map')}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"objName": "Stage", | |
"sounds": [], | |
"costumes": [], | |
"children": [{ | |
"objName": "Sprite1", | |
"scripts": [ | |
[ | |
0, | |
0, |
OlderNewer