trifleJS
trifleJS copied to clipboard
trifle.modules.WebPage.js (157,17): Parameter is not valid.
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.
The issues is that the viewport width was set to 0 (undefined in Javascript). See https://github.com/juliensobrier/trifleJS/commit/df345c550e1434ef71f90ee27b0f0f9c3517f021 for some additonal checks
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.