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

Various cleanups #41

Merged
merged 4 commits into from
Jul 3, 2017
Merged

Various cleanups #41

merged 4 commits into from
Jul 3, 2017

Conversation

jonas
Copy link
Collaborator

@jonas jonas commented Jul 3, 2017

Copy link
Member

@olafurpg olafurpg left a comment

Choose a reason for hiding this comment

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

Thanks for cleaning this up, very nice. LGTM 👍

import monaco.services.ITextEditorModel
import monaco.services.ITextModelResolverService

@ScalaJSDefined
object MetadocTextModelService extends ITextModelResolverService {
// NOTE: we have a private cache here to avoid "duplicate model" errors.
Copy link
Member

Choose a reason for hiding this comment

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

Nice to get rid of this.

/**
* Service to dynamically load models.
*
* @note This service was renamed to ITextModelService in
Copy link
Member

Choose a reason for hiding this comment

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

👍 I need to learn scaladoc

jonas added 3 commits July 3, 2017 14:05
Removes the need for the custom model cache and reduces the number of
requests considerably.

References #39
@jonas jonas changed the title Various implements Various cleanups Jul 3, 2017
@jonas jonas merged commit 1ae06c9 into master Jul 3, 2017
@jonas jonas deleted the service-declarations branch July 3, 2017 18:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants