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
Issues including Remodal javascript library to a spec #204
Comments
I've checked the issue, confirm that it's reproducible. Started to work on proper js encapsulation with webpack/commonJS. |
I see this everytime I load a page with remodal on it. |
Safari is giving me a different looking error. if (typeof optionsBase[typeEnabled] !== 'undefined'){
for(var item in optionsBase[typeEnabled]) {
if (optionsBase[typeEnabled].hasOwnProperty(item)) {
var targetObj = optionsBase[typeEnabled][item];
if (targetObj){
require([path + item]);
}
}
}
} Where it says "undefined is not an object (evaluating 'typeEnabled')" in the ModuleLoader.js file. |
We're aware of the problem and it's reasons, this week I plan to finish the encapsulation and release 0.6.0 with it. This change will ensure that there won't be any JS conflicts between SourceJS UI code and example component code. |
Is there anything I can do to help test it?
|
@custa1200, I have access to your project, so it's quite enough for now. As soon as I'll implement the encapsulation, it will start working, I have this already done in my POC branch. |
First test build is available for testing #220. @custa1200 I've tested with your version either, seems to work fine |
This has been sitting here for a while, Seems to work well, I'm closing it off. |
I am trying to create a spec that describes modal window behavior. I use the remodal library for this purpose. When I include it on my spec page like:
When I try to run the spec in SourceJS and it fails load the remodal compenent and and gives me the folllowing error in the web inspector:
The text was updated successfully, but these errors were encountered: