Show More
Commit Description:
live editor using cloud9 ace for problem
Commit Description:
live editor using cloud9 ace for problem
File last commit:
Show/Diff file:
Action:
app/assets/javascripts/sources.js.coffee | 10 lines | 356 B | text/coffeescript | CoffeeScriptLexer |
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/
$ ->
$("#live_submit").on "click", (event) ->
h = $("#editor_text")
e = ace.edit("editor")
h.val(e.getValue())