Commit Graph
16 Commits
Author SHA1 Message Date
Ray Schamp 0bfcd3fed2 Don't capture keys intended for the browser
This is mostly because it was annoying that Cmd-Opt-J didn't work, but seems like a good thing to have in general.
2016-11-29 10:05:28 -05:00
Ray Schamp 97b0f26bef Fix minilog prefix 2016-10-24 09:39:50 -04:00
Ray Schamp 91547c1fb5 No need to supply @return if there's no return 2016-10-24 09:39:35 -04:00
Ray Schamp 5b7c557f89 Fix JSDoc return statements
null !== undefined
2016-10-23 16:25:33 -04:00
Ray Schamp 3113f31f46 Add shapeFromPropTypes utility for passed props 2016-10-22 11:44:26 -04:00
Ray Schamp 767721be14 All the rest of the linting 2016-10-22 11:44:23 -04:00
Tim Mickel 41c1765242 Initial rough sprite/costume/backdrop libraries 2016-10-19 18:03:42 -04:00
Ray Schamp c2b5c10a33 Move animate timer to Stage component
And use instanceOf for the vm prop type
2016-10-17 16:06:57 -04:00
Ray Schamp 716c979d0f Recoupling refactor
Confine the logic for adding/removing event listeners between the VM and the components to the relevant components.  While this tightens the coupling between the component and the environment, it makes using the individual components more self-contained.
2016-10-16 19:03:54 -04:00
Ray Schamp 51d5b7a992 Decoupling refactor
Use fewer refs, these had weird behavior that caused the order of components to matter.
Attach events eagerly, as soon as the necessary objects are available.
Make VMManager an actual class instantiated with a VM so we don't have to pass it to every method.
Use bindAll everywhere for convenience.
2016-10-14 00:37:48 -04:00
Tim Mickel 28e90eb914 Attach flyout listeners to GUI workspace 2016-10-13 17:27:47 -04:00
Ray Schamp 54548b5c0b Update project on hash change
While doing so:
- Use ProjectLoader for loading projects
- Stop using loadEmptyProject and supply empty project data
- Move project loading to App, GUI now receives data (as a string - the vm should receive an object eventually)
- Add logging
2016-10-12 23:22:15 -04:00
Ray Schamp 33397c00cd Move rest of workspace/vm setup to VMManager 2016-09-27 15:42:02 -04:00
Ray Schamp 2d5d8d267e Use let where applicable
Copy-paste-laziness
2016-09-27 11:51:07 -04:00
Ray Schamp bbbb2bc2ef Bind workspaceUpdate to vm
Update the workspace when changing the target
2016-09-27 11:50:42 -04:00
Ray Schamp e43653a389 Add basic Stage component
Update webpack config and vm usage to match updates in scratch-vm
2016-09-22 10:23:44 -04:00