mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
parent
ae946308d7
commit
1dfa23b049
2 changed files with 3 additions and 3 deletions
File diff suppressed because one or more lines are too long
|
@ -156,7 +156,7 @@ $(document).ready ->
|
|||
$('[data-action="run-code-example"]').click ->
|
||||
run = $(@).data 'run'
|
||||
index = $("##{$(@).data('example')}-js").data 'index'
|
||||
js = if editors[index]?
|
||||
js = if editors[index]?.js
|
||||
editors[index].js
|
||||
else
|
||||
$(textareas[index]).val()
|
||||
|
|
Loading…
Add table
Reference in a new issue