Permalink
Browse files

Disable the legacy ToJavascript instances

  • Loading branch information...
1 parent 355e5c9 commit d5a1b570198d79becee71f5a06fe3e45fba8a902 @snoyberg snoyberg committed Nov 16, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 shakespeare-js/Text/Julius.hs
  2. +1 −1 shakespeare-js/shakespeare-js.cabal
@@ -79,7 +79,7 @@ asJavascriptUrl = id
-- | A typeclass for types that can be interpolated in CoffeeScript templates.
class ToJavascript a where
toJavascript :: a -> Builder
-#ifndef SAFER_INTERPOLATION
+#if 0
instance ToJavascript [Char] where toJavascript = fromLazyText . TL.pack
instance ToJavascript TS.Text where toJavascript = fromText
instance ToJavascript TL.Text where toJavascript = fromLazyText
@@ -1,5 +1,5 @@
name: shakespeare-js
-version: 1.0.2
+version: 1.1.0
license: MIT
license-file: LICENSE
author: Michael Snoyman <michael@snoyman.com>

0 comments on commit d5a1b57

Please sign in to comment.