Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.

trifle.modules.WebPage.js (157,17): Parameter is not valid. #43

Open
juliensobrier opened this issue Feb 5, 2015 · 2 comments
Open

Comments

@juliensobrier
Copy link
Contributor

I got this error:

WebPage.prototype.render(filename)
trifle.modules.WebPage.js (157,17): Parameter is not valid.

I'm not sure if (157,17) refers to the .Net source code or the javascript file TrifleJS. executes. Line 157 in WebPage.cs has no code. I looked for "Parameter is not valid" in the whole project, I could not find it.

@juliensobrier
Copy link
Contributor Author

The issues is that the viewport width was set to 0 (undefined in Javascript). See juliensobrier@df345c5 for some additonal checks

@sdesalas
Copy link
Owner

Hi Julien, this looks like the javascript used in trifleJS to setup the internal javascript environment (replumb the 'page' methods/setters to their .net counterparts) is throwing an error. Possibly when passing a parameter to the .NET _render() method. Sorry been a bit busy lately no had much of a chance to look at triflejs this month yet.

@sdesalas sdesalas added this to the Core API milestone Feb 11, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants