Skip to content
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

not loading dev editor - only min version #46

Closed
mbana opened this issue Jul 1, 2016 · 1 comment
Closed

not loading dev editor - only min version #46

mbana opened this issue Jul 1, 2016 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug
Milestone

Comments

@mbana
Copy link

mbana commented Jul 1, 2016

these lines aren't correct - please correct me if I am wrong.
can we possibly just default to the dev version - i am assuming anyone wanting to run monaco well be a dev anyway? not sure.
cheers


open http://localhost:8080/monaco-editor/test/?monaco-typescript=dev

window.location.search = "?monaco-typescript=dev"

function loadDevEditor() {
    return (getQueryStringValue('editor') === 'dev');
}

function getQueryStringValue (key) {
    return unescape(window.location.search.replace(new RegExp("^(?:.*[&\\?]" + escape(key).replace(/[\.\+\*]/g, "\\$&") + "(?:\\=([^&]*))?)?.*$", "i"), "$1"));
}
@alexdima alexdima added this to the August 2016 milestone Aug 15, 2016
@alexdima alexdima self-assigned this Aug 15, 2016
@alexdima alexdima added the bug Issue identified by VS Code Team member as probable bug label Aug 16, 2016
@alexdima
Copy link
Member

Added controls to the test page:

image

@vscodebot vscodebot bot locked and limited conversation to collaborators Oct 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

2 participants