Closed estory1 closed 11 years ago
One initial note: The second param should always be an object. In the example file, I stringify the object because I'm building a script. Within the context of the script itself, the second argument should always be an object.
Fixed in 1.2.2.
As a PR 1.2.1 user running scripts on PR via the /test.html page, when I use the script found in [1.s], I get the error in [1.e].
The same error occurs given the code sample in [2.s].
The PR JS documentation shows the updateTrigger function takes an object as the second parameter, so when I try [3.s], I get the error message in [3.e]
Thoughts? Mark and I both looked at this...
[1.s] (second parameter as JS string)
[1.e]
[2.s] (second parameter as JS string)
[3.s] (second parameter as JS object)
[3.e]