Skip to content
This repository has been archived by the owner on Jun 23, 2018. It is now read-only.

Added loading scripts without the id set #81

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Added loading scripts without the id set #81

wants to merge 2 commits into from

Conversation

TheThirdOne
Copy link

This is untested code!, but it should work.

I don't currently have access to a computer that can fully build jsrepl (the closure compiler with 4G's of ram breaks all of the devices I use).

BASE_PATH = script_element.src.split('/')[...-1].join '/'
SANDBOX_SRC = "#{BASE_PATH}/sandbox.html"
break
if BASE_PATH?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is that supposed to be not BASE_PATH??

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it is.

@TheThirdOne
Copy link
Author

Just wondering, why this hasn't been addressed at all since the last update I made?

@amasad
Copy link
Contributor

amasad commented Jun 1, 2014

your pull request is prefaced with "This is untested code!" in bold, and I haven't had time to go in and tested. Will get to it soon

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants