mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-07-04 17:00:28 -04:00
jsdoc template: fix bug where paperScript object wasn't being nullified.
This commit is contained in:
parent
298c304660
commit
381fd61f60
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ var Render = new function() {
|
||||||
var example = examples[i].toString();
|
var example = examples[i].toString();
|
||||||
|
|
||||||
// Parse {@paperscript} inline tags
|
// Parse {@paperscript} inline tags
|
||||||
var paperScript;
|
var paperScript = null;
|
||||||
example = example.replace(/\{@paperscript[\s]*([^}]+)*\}/,
|
example = example.replace(/\{@paperscript[\s]*([^}]+)*\}/,
|
||||||
function(tag, content) {
|
function(tag, content) {
|
||||||
paperScript = {
|
paperScript = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue