Sha256: 804c76f6061de0236b5a511dcd009be91417a5fc6f2fbe9facb02779d8d61296
Contents?: true
Size: 909 Bytes
Versions: 1
Compression:
Stored size: 909 Bytes
Contents
root = @ if typeof(exports) isnt "undefined" CodeSync = exports else CodeSync = root.CodeSync = {} CodeSync.VERSION = "<%= CodeSync::Version %>" CodeSync.backends = {} CodeSync.util = {} CodeSync.plugins = {} CodeSync._config ||= defaultFileType: "coffeescript" assetCompilationEndpoint: "http://localhost:9295/source" serverInfoEndpoint: "http://localhost:9295/info" sprocketsEndpoint: "http://localhost:9295/assets" socketEndpoint: "http://localhost:9295/faye" editorToggleHotkey: "ctrl+j" debugMode: false CodeSync.set = (setting, value)-> CodeSync._config[setting] = value CodeSync.get = (setting)-> CodeSync._config[setting] CodeSync.enableLogging = ()-> CodeSync.set("debugMode", true) CodeSync.log = (args...)-> if CodeSync.get("debugMode") isnt false args.unshift "CodeSync Log:" console.log args... _originalSetOption = CodeMirror::setOption
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
code_sync-0.6.7 | lib/assets/javascripts/code_sync/config.js.coffee.erb |