Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

feat: add xml loader for elements from external namespaces #525

Merged
merged 3 commits into from
May 17, 2018

Conversation

sis0k0
Copy link
Contributor

@sis0k0 sis0k0 commented May 16, 2018

No description provided.

@sis0k0 sis0k0 requested review from manoldonev and MartoYankov May 16, 2018 14:18
@sis0k0 sis0k0 force-pushed the sis0k0/xml-namespace-loader branch from c1ed570 to d2e97ff Compare May 16, 2018 15:17
.join(";");

const json = JSON.stringify(source)
.replace(/\u2028/g, '\\u2028')
Copy link
Contributor

Choose a reason for hiding this comment

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

I believe a comment will be helpful here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nice suggestion! Added a comment.

Copy link
Contributor

@manoldonev manoldonev left a comment

Choose a reason for hiding this comment

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

Tested this with custom component and the require does not work.

When we had custom components in templates and did the bundle-config manually it looked like:

global.registerModule("custom/MyControl", () => require("./custom/MyControl"));

Now it fails with:

global.registerModule("custom/MyControl", () => require("custom/MyControl"));

Sample app here: https://github.com/manoldonev/blank-test-ts

Copy link
Contributor

@manoldonev manoldonev left a comment

Choose a reason for hiding this comment

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

We agreed a new PR will be made to handle custom components registration.

@manoldonev manoldonev merged commit 19bbc7e into master May 17, 2018
@manoldonev manoldonev deleted the sis0k0/xml-namespace-loader branch May 17, 2018 14:21
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants