jsdoc template: fix bug where paperScript object wasn't being nullified.

This commit is contained in:
Jonathan Puckey 2011-06-03 13:23:57 +02:00
parent 298c304660
commit 381fd61f60

View file

@ -283,7 +283,7 @@ var Render = new function() {
var example = examples[i].toString();
// Parse {@paperscript} inline tags
var paperScript;
var paperScript = null;
example = example.replace(/\{@paperscript[\s]*([^}]+)*\}/,
function(tag, content) {
paperScript = {