Sha256: 73a37f229bbdc8378990782391e6530c99b7a1681ac2380843874ab6f0cd0118

Contents?: true

Size: 849 Bytes

Versions: 1

Compression:

Stored size: 849 Bytes

Contents

javascript:
  window.coffeescriptDefault = "CodeSync.onScriptChange ||= (changeObject)->\n"
  coffeescriptDefault = coffeescriptDefault + '  if changeObject.mode is "skim" and changeObject.name is "codesync"'
  coffeescriptDefault = coffeescriptDefault + "\n" + '    $(".canvas-container").html JST["codesync"]()'

.demos-page
  .editor-container data-layout="three"
  .canvas-container

- if development?
  javascript:
    window.codeSyncClient = new CodeSync.Client()

javascript:
  window.enableGlobalEditor = function(){
    CodeSync.AssetEditor.setHotKey('ctrl+j')

    window.codeSyncEditor = new CodeSync.AssetEditor({
      autoAppend: true,
      renderHidden: true,
      startMode: 'scss',
      position: "bottom"
    })
  }

- content_for(:head) do
  == stylesheet_link_tag 'demos', 'vendor/animate'

== javascript_include_tag 'demos'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
code_sync-0.6.7 site/source/demo.html.slim