first commit
This commit is contained in:
34
www/bower_components/c3/docs/_sample.haml
vendored
Normal file
34
www/bower_components/c3/docs/_sample.haml
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
.container
|
||||
|
||||
%h1.title #{data.samples[id].title}
|
||||
|
||||
.chart
|
||||
#chart
|
||||
|
||||
#ace-error
|
||||
|
||||
.sourcecode.margin-medium-v.margin-small-h
|
||||
%h3 # #{id}.js
|
||||
#javascript-editor.c3-editor
|
||||
= js_as_plain id
|
||||
|
||||
- if defined? other_css
|
||||
.sourcecode
|
||||
%h3 # #{other_css}
|
||||
%pre
|
||||
%code.css
|
||||
= css_as_plain other_css
|
||||
|
||||
- if defined? other_files
|
||||
- other_files.each do |f|
|
||||
.sourcecode
|
||||
%h3 # #{f}
|
||||
%pre
|
||||
%code.html
|
||||
= data_as_plain f
|
||||
|
||||
= partial :footer
|
||||
|
||||
= partial :script
|
||||
= partial :sample_editor, locals: { type: 'javascript' }
|
||||
= javascript_include_tag "samples/#{id}.js"
|
||||
Reference in New Issue
Block a user