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

Allow loading .ttl files #155

Merged
merged 1 commit into from Aug 27, 2019
Merged

Allow loading .ttl files #155

merged 1 commit into from Aug 27, 2019

Conversation

Vinnl
Copy link
Contributor

@Vinnl Vinnl commented Aug 19, 2019

@timbl I've added the ability to import .ttl files into a Javascript file, which will automatically load the contents of the file into a Javascript variable. This is Webpack functionality, not official Javascript, so please double-check if that's desirable.

(Note that there also was a versionInfo.js file suddenly modified in this repo. Since I didn't know what that was, I did not include it in this commit. If it should be included, let me know @megoth.)

@Vinnl Vinnl requested a review from timbl August 19, 2019 13:47
@megoth
Copy link
Contributor

megoth commented Aug 19, 2019

I like it, makes the code easier to read.

@Vinnl
Copy link
Contributor Author

Vinnl commented Aug 27, 2019

Given that we were already using the non-standardised require, I'm going to go ahead and merge this.

@Vinnl Vinnl merged commit ced8fe2 into master Aug 27, 2019
@Vinnl Vinnl deleted the load-ttl branch August 27, 2019 10:39
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.

None yet

2 participants