Sha256: 2d6ee451cb40dcd55ec2643decd74bd9d4f17d29a1cad4763e122969e1445458

Contents?: true

Size: 1.08 KB

Versions: 1

Compression:

Stored size: 1.08 KB

Contents

CodeSync.canvasEditors = ()->

  window.templateEditor = new CodeSync.AssetEditor
    hideable: false
    autoRender: true
    appendTo: "#front-end-editors-wrapper #panel-1"
    renderVisible: true
    startMode: "skim"
    keyBindings: "vim"
    position: "static"
    document:
      localStorageKey: "panel:1"

    plugins:[
      "ModeSelector"
      "KeymapSelector"
      "ElementSync"
    ]

  window.styleEditor = new CodeSync.AssetEditor
    hideable: false
    autoRender: true
    appendTo: "#front-end-editors-wrapper #panel-2"
    renderVisible: true
    startMode: "scss"
    keyBindings: "vim"
    position: "static"
    plugins:[
      "ModeSelector"
      "KeymapSelector"
    ]
    document:
      localStorageKey: "panel:2"

  window.coffeescriptEditor = new CodeSync.AssetEditor
    hideable: false
    autoRender: true
    appendTo: "#front-end-editors-wrapper #panel-3"
    renderVisible: true
    startMode: "coffeescript"
    keyBindings: "vim"
    position: "static"
    plugins:[
      "ModeSelector"
      "KeymapSelector"
    ]
    document:
      localStorageKey: "panel:3"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
code_sync-0.6.7 lib/assets/javascripts/canvas/editors.coffee