Skip to content

Commit 9aa4764

Browse files
committed
use h1 from template and info.json
1 parent c4c5761 commit 9aa4764

File tree

6 files changed

+4
-11
lines changed

6 files changed

+4
-11
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
View source code of component folders (`/default`, `/jade` and etc) and compare them with [rendered output](http://sourcejs.com/specs/example-specs-showcase/).
66

7-
Examples are made for SourceJS 0.5.3+ version.
7+
Examples are made for SourceJS 0.5.4+ version.
88

99
## Setup Instructions
1010

default/index.src.html

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<link rel="stylesheet" href="css/default.css">
22

3-
<h1>Default Spec</h1>
4-
53
<div class="source_info">
64

75
<p>This spec is rendered out of <code>index.src.html</code>.</p>

dss/readme.md

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<link rel="stylesheet" href="css/dss.css">
22

3-
# DSS Spec
4-
53
This spec is rendered out of `readme.md` and CSS documentation in `css/dss.css` using [sourcejs-contrib-dss](http://github.com/sourcejs/sourcejs-contrib-dss) plugin.
64

75
Wrapper view with linked Boostrap CSS styles is taken from `doc.ejs` [file](https://github.com/sourcejs/Source/blob/master/core/views/doc.ejs), which is configured in Spec's `info.json`.

jade/index.jade

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
link(href='css/jade.css', rel='stylesheet')
22

3-
h1 Jade Spec
43
.source_info
54
p This spec is rendered out of <code>index.jade</code> file using <a href="http://github.com/sourcejs/sourcejs-jade">sourcejs-jade</a> plugin.
65
p Wrapper view with linked Boostrap CSS styles is taken from <code>doc.ejs</code> <a href="https://github.com/sourcejs/Source/blob/master/core/views/doc.ejs">file</a>, which is configured in Spec's <code>info.json</code>.

markdown/readme.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<link rel="stylesheet" href="css/markdown.css">
2-
3-
# Markdown Spec
1+
<head>
2+
<link rel="stylesheet" href="css/markdown.css">
3+
</head>
44

55
This spec is rendered out of `readme.md`.
66

react/index.jsx

-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ module.exports = React.createClass({
77
<div>
88
<link href="css/react.css" rel="stylesheet"/>
99

10-
<h1>React Spec</h1>
11-
1210
<div className="source_info">
1311
<p>This spec is rendered out of <code>index.jsx</code> file using <a href="http://github.com/szarouski/sourcejs-react">sourcejs-react</a> plugin.
1412
</p>

0 commit comments

Comments
 (0)