Skip to content

Commit

Permalink
Disable the legacy ToJavascript instances
Browse files Browse the repository at this point in the history
  • Loading branch information
snoyberg committed Nov 16, 2012
1 parent 355e5c9 commit d5a1b57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shakespeare-js/Text/Julius.hs
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion shakespeare-js/shakespeare-js.cabal
@@ -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>
Expand Down

0 comments on commit d5a1b57

Please sign in to comment.