-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility for better simulator reloads #35
Open
yofreke
wants to merge
24
commits into
master
Choose a base branch
from
feature-individualCompile
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
def3895
added individualCompile option
yofreke 282953d
updates for preloading
yofreke 120f7cb
move jsio path cache to its own file
yofreke 9fb2e4f
checkpoint - ~0.6 second simulator builds
yofreke 132bc03
remove old comments
yofreke a4e2677
partial load (for preloading only and then waiting)
yofreke 48b50ee
use FileGenerator for index.html and native-ios.js
yofreke f500a0a
support for new simulator (fake) spritesheet maps
yofreke 8059d06
clean up + ensure broswer and native builds work
yofreke 64fc51b
moved jsio dependency back to package.json
yofreke 8ddc085
update spritesheetmapgenerator comments
yofreke 86a4226
Merge branch 'master' into feature-individualCompile
yofreke 3ec9fd5
doThings -> loadTargetJS
yofreke e655fa4
lower case FileGenerator
yofreke 2b88f49
normal convention
yofreke 9132381
normal import Promise
yofreke b859881
osx being bad at capitals
yofreke 7b4cdbc
remove promise
yofreke 473350d
mkdirp -> fs-extra.mkdirp
yofreke 0bbfc52
no more server side compilation
yofreke 8620a31
remove separateJsio option and replace it with simulator only functio…
yofreke c83a22d
use only top level dirs in pathCache instead of each individual file
yofreke 9e8b8fd
use relative (no sym link resolution) jsio path
yofreke 91f11c0
native: add a debugpath for native jsio env
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Submodule jsio
deleted from
a4a90e
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is
jsio
namespacing only used forlocalStorage
? If so, we should just solve thelocalStorage
problem separately -- we can wrap thelocalStorage
API in devkit on a per-app basisThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would mean that jsio functionality is reliant on devkit? Did it this way so that these changes would work with any jsio app
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As far as I can tell, your proposed changes make jsio reliant on devkit functionality since it makes
jsio.js
getNamespace look for the globalCONFIG
and/or look forapps/
in the URL, both of which are state provided by devkit only. I'm proposing the alternative -- js.io doesn't depend on devkit, and any local storage namespacing or caching lives entirely in devkit -- nogetNamespace
calls from devkit to js.io that depend on devkit variables/state.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made the namespace calls not dependent on devkit. I think we probably should still leave them in there just to make sure they don't collide with some other project.