From 178499f5a620ff8e6b9158ad655134c170ac1d0a Mon Sep 17 00:00:00 2001 From: Jeremy Penner Date: Thu, 3 Mar 2011 22:47:56 -0800 Subject: [PATCH] rename to kliffy --- iffy.coffee => kliffy.coffee | 18 +++++++++--------- retrochronal.coffee | 2 +- timemachine.html | 14 +++++++------- 3 files changed, 17 insertions(+), 17 deletions(-) rename iffy.coffee => kliffy.coffee (96%) diff --git a/iffy.coffee b/kliffy.coffee similarity index 96% rename from iffy.coffee rename to kliffy.coffee index 5198aec..f1de051 100644 --- a/iffy.coffee +++ b/kliffy.coffee @@ -1,6 +1,6 @@ ### -Iffy - parserless interactive fiction for the web -(c)2010 Jeremy Penner +Kliffy - Klikable Interactive Fiction For You! +(c)2010-2011 Jeremy Penner ### #lazy enumeration @@ -176,13 +176,13 @@ class Gst # show "previous section" link if @rgsection.length > 1 - @jDiv.append("
#{@Link("Previous section", () => @GoBackOneSection())}
") + @jDiv.append("
#{@Link("Previous section", () => @GoBackOneSection())}
") # show all nevs in section @rgwst = null @rgwst = @RgwstRun() for wst in @rgwst - jDivNev = $("
") + jDivNev = $("
") jDivNev.append(wst.nev.StHtmlDisplay(this, wst)) @jDiv.append(jDivNev) jDivNev.hover(dgEnter, dgLeave) @@ -191,7 +191,7 @@ class Gst # show "next section" link stHtmlNav = @wstLast.nev.StHtmlNextSection(this, @wstLast) if stHtmlNav? - @jDiv.append("
#{stHtmlNav}
") + @jDiv.append("
#{stHtmlNav}
") for stId_dgOnClick in @mpstId_dgOnClick @jDiv.find("##{stId_dgOnClick[0]}").click(stId_dgOnClick[1]) @@ -205,7 +205,7 @@ class Gst ShowMenu: (ev, dLink, rgverb) -> @ClearMenu(true) - jMenu = $("
").hide() + jMenu = $("
").hide() for verb in rgverb dgClick = ((verbT) => () => verbT.dgActivate(); @Display())(verb) jMenuItem = $("#{verb.stDisplay}
").click(dgClick) @@ -340,7 +340,7 @@ class Nev if not fReserved jdivTmp.append(document.importNode(dHTML, true)) stHtml = jdivTmp[0].innerHTML - "
#{gst.StHtmlUi(wst)}
#{gst.FilterStHtml(stHtml, wst)}
" + "
#{gst.StHtmlUi(wst)}
#{gst.FilterStHtml(stHtml, wst)}
" #[word text to display] -- links to a word, usually a noun, that the player can interact with in some way. #[word] == [word word] @@ -432,7 +432,7 @@ TemplateFromStNev = (st, wst) -> word = wst.gst.SectionCurrent().WordByName(wst.gst, stWord) if word? and (rgverb = word.Rgverb(wst)).length > 0 - JsStringLit(wst.gst.Link(stDisplay, ((ev) -> wst.gst.ShowMenu(ev, this, rgverb)), "class='iffy-word'")) + JsStringLit(wst.gst.Link(stDisplay, ((ev) -> wst.gst.ShowMenu(ev, this, rgverb)), "class='kliffy-word'")) else JsStringLit(stDisplay) MatchInWord = MatchBracket(1, 0, () -> PushText(true, StWord)) @@ -509,7 +509,7 @@ class ActorPlayer StHtmlUi: (wst) -> if (wst.nev.player_nevIDRespondedTo?) - wst.gst.Link("Undo", (() => @RemoveResponse(wst.nev); wst.gst.Display()), "class='iffy-undo'") + wst.gst.Link("Undo", (() => @RemoveResponse(wst.nev); wst.gst.Display()), "class='kliffy-undo'") class ActorNext constructor: (@story) -> diff --git a/retrochronal.coffee b/retrochronal.coffee index 43752f4..7e59caf 100644 --- a/retrochronal.coffee +++ b/retrochronal.coffee @@ -1,5 +1,5 @@ ### -RetroChronal -- an iffy module for violating causality +RetroChronal -- a kliffy module for violating causality Usage: diff --git a/timemachine.html b/timemachine.html index 79e7de0..4edab01 100644 --- a/timemachine.html +++ b/timemachine.html @@ -3,32 +3,32 @@ - +