diff --git a/package.json b/package.json index 5589306..f8e8863 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "salet", - "version": "1.4.14", + "version": "1.4.15", "description": "A general client-side framework for cybertext interactive fiction games.", "keywords": ["ifiction", "interactive fiction", "games", "coffee-script", "text", "menu"], "homepage": "http://salet.oreolek.ru", diff --git a/src/view.coffee b/src/view.coffee index 41ee0f6..5dd81cc 100644 --- a/src/view.coffee +++ b/src/view.coffee @@ -261,31 +261,5 @@ class SaletView @showBlock(".ways #ways_hint") else @hideBlock(".ways #ways_hint") - document.getElementById("ways").innerHTML = content - min = Infinity - min_key = [] - for node in distances - if node.distance < min - min = node.distance - min_key = [node.key] - if node.distance == min - min_key.push(node.key) - if min < Infinity - for node in min_key - waylink = document.getElementById("waylink-#{node}") - if waylink - addClass(waylink, "destination") - - pictureTag: (picture) -> - extension = picture.substr((~-picture.lastIndexOf(".") >>> 0) + 2) - if (extension == "webm") - return """ - - """ - return "Room illustration" - cycleLink: (content) -> return "#{content}"