This commit is contained in:
Devine Lu Linvega 2017-01-07 09:01:38 -07:00
parent 859c834026
commit 9d3e0850bc
3 changed files with 3 additions and 41 deletions

View File

@ -22,7 +22,7 @@ shift+alt ; Move Layer
## Modules
### # Surface
Missing documentation.
- Parameters: `Rect` `Color`
- Parameters: `Rect` `Color` `Bang`
- Variables: `layer`
### / FileLoad
@ -45,7 +45,7 @@ Missing documentation.
- Parameters: `Position` `Rect`
- Variables:
### % Filter
### % Render
Missing documentation.
- Parameters: `Any`
- Variables:
@ -118,4 +118,4 @@ rate=10 ; variable: rate = 10
> 2,2;> 4,4;> 6,6;> 8,8
# Symmetric Light
> 1,1 600x;> 2,2 600x;> 3,3 600x;> 4,4 600x
```
```

23
main.js
View File

@ -1,23 +0,0 @@
/**
* Listens for the app launching then creates the window
*
* @see http://developer.chrome.com/apps/app.runtime.html
* @see http://developer.chrome.com/apps/app.window.html
*/
chrome.app.runtime.onLaunched.addListener(function() {
// Center window on screen.
var screenWidth = screen.availWidth;
var screenHeight = screen.availHeight;
var width = 500;
var height = 300;
chrome.app.window.create('index.html', {
id: "helloWorldID",
outerBounds: {
width: width,
height: height,
left: Math.round((screenWidth-width)/2),
top: Math.round((screenHeight-height)/2)
}
});
});

View File

@ -1,15 +0,0 @@
{
"manifest_version": 2,
"name": "Ronin",
"version": "1.1",
"minimum_chrome_version": "23",
"icons": {
"16": "media/icon_16.png",
"128": "media/icon_128.png"
},
"app": {
"background": {
"scripts": ["main.js"]
}
}
}