From b0cdd866eed4ff27e30410c189cfbf061ac0a935 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Thu, 29 Mar 2012 15:35:52 +0100 Subject: [PATCH] Fixed up classnames Not sticking to my own conventions is bad --- js/macros/tiddler.js | 4 ++-- test/wikitests/EighthTiddler.html | 2 +- test/wikitests/Fifth Tiddler.html | 2 +- test/wikitests/FirstTiddler.html | 2 +- test/wikitests/Fourth Tiddler.html | 2 +- test/wikitests/SecondTiddler.html | 2 +- test/wikitests/SeventhTiddler.html | 2 +- test/wikitests/SixthTiddler.html | 2 +- test/wikitests/ThirdTiddler.html | 2 +- tiddlywiki5/shadows/css/styles.css | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/js/macros/tiddler.js b/js/macros/tiddler.js index b1488d151..b6b5045a0 100644 --- a/js/macros/tiddler.js +++ b/js/macros/tiddler.js @@ -101,10 +101,10 @@ exports.macro = { var attributes = { "data-tiddler-target": renderTitle, "data-tiddler-template": renderTemplate, - "class": ["tiddlerFrame"] + "class": ["tw-tiddler-frame"] }; if(!this.store.tiddlerExists(renderTitle)) { - attributes["class"].push("tiddlerMissing"); + attributes["class"].push("tw-tiddler-missing"); } // Return the content return [Renderer.ElementNode("div",attributes,contentClone)]; diff --git a/test/wikitests/EighthTiddler.html b/test/wikitests/EighthTiddler.html index e98b03d23..0203a6f40 100644 --- a/test/wikitests/EighthTiddler.html +++ b/test/wikitests/EighthTiddler.html @@ -1 +1 @@ -
SixthTiddler
11 February 2011
Jermolene

SixthTiddler
11 February 2011
Jermolene

EighthTiddler



FirstTiddler



\ No newline at end of file +
SixthTiddler
11 February 2011
Jermolene

SixthTiddler
11 February 2011
Jermolene

EighthTiddler



FirstTiddler



\ No newline at end of file diff --git a/test/wikitests/Fifth Tiddler.html b/test/wikitests/Fifth Tiddler.html index 6cf711b4e..2710d8d8e 100644 --- a/test/wikitests/Fifth Tiddler.html +++ b/test/wikitests/Fifth Tiddler.html @@ -1 +1 @@ -
A caption above the table
LeftMiddleRight
North WestNorthNorth East
WestHereEast
South WestSouthSouth East
\ No newline at end of file +
A caption above the table
LeftMiddleRight
North WestNorthNorth East
WestHereEast
South WestSouthSouth East
\ No newline at end of file diff --git a/test/wikitests/FirstTiddler.html b/test/wikitests/FirstTiddler.html index 9ec1beaaa..14f19c414 100644 --- a/test/wikitests/FirstTiddler.html +++ b/test/wikitests/FirstTiddler.html @@ -1 +1 @@ -
This is the text of the first tiddler, with a link to the SecondTiddler, too. And a link to http://tiddlywiki.com/.
\ No newline at end of file +
This is the text of the first tiddler, with a link to the SecondTiddler, too. And a link to http://tiddlywiki.com/.
\ No newline at end of file diff --git a/test/wikitests/Fourth Tiddler.html b/test/wikitests/Fourth Tiddler.html index aa4e0ef0c..011348ed5 100644 --- a/test/wikitests/Fourth Tiddler.html +++ b/test/wikitests/Fourth Tiddler.html @@ -1 +1 @@ -
A missing image and a $1 couple of Ç Ç "HTML Entity"
\ No newline at end of file +
A missing image and a $1 couple of Ç Ç "HTML Entity"
\ No newline at end of file diff --git a/test/wikitests/SecondTiddler.html b/test/wikitests/SecondTiddler.html index 75659ee7d..5e0c661fa 100644 --- a/test/wikitests/SecondTiddler.html +++ b/test/wikitests/SecondTiddler.html @@ -1 +1 @@ -

Heading

This is the second tiddler. It has a list:
And a macro invocation 5.0.0 and a custom class
\ No newline at end of file +

Heading

This is the second tiddler. It has a list:
And a macro invocation 5.0.0 and a custom class
\ No newline at end of file diff --git a/test/wikitests/SeventhTiddler.html b/test/wikitests/SeventhTiddler.html index 248a5a749..c71c1b1a9 100644 --- a/test/wikitests/SeventhTiddler.html +++ b/test/wikitests/SeventhTiddler.html @@ -1 +1 @@ -
4

SeventhTiddler

window
\ No newline at end of file +
4

SeventhTiddler

window
\ No newline at end of file diff --git a/test/wikitests/SixthTiddler.html b/test/wikitests/SixthTiddler.html index 288498ef1..6b55d3c0c 100644 --- a/test/wikitests/SixthTiddler.html +++ b/test/wikitests/SixthTiddler.html @@ -1 +1 @@ -
SixthTiddler
11 February 2011
Jermolene
\ No newline at end of file +
SixthTiddler
11 February 2011
Jermolene
\ No newline at end of file diff --git a/test/wikitests/ThirdTiddler.html b/test/wikitests/ThirdTiddler.html index 43b293a80..9f8ebb13a 100644 --- a/test/wikitests/ThirdTiddler.html +++ b/test/wikitests/ThirdTiddler.html @@ -1 +1 @@ -
An explicit link Fourth Tiddler and a pretty link and a transclusion
A missing image and a Stringy couple of Ç Ç "HTML Entity"



\ No newline at end of file +
An explicit link Fourth Tiddler and a pretty link and a transclusion
A missing image and a Stringy couple of Ç Ç "HTML Entity"



\ No newline at end of file diff --git a/tiddlywiki5/shadows/css/styles.css b/tiddlywiki5/shadows/css/styles.css index 9b240813e..a105b08a2 100644 --- a/tiddlywiki5/shadows/css/styles.css +++ b/tiddlywiki5/shadows/css/styles.css @@ -8,7 +8,7 @@ body { line-height: 48px; } -.tiddlerMissing .title { +.tw-tiddler-missing .title { font-style: italic; font-weight: normal; }