Permalink
Browse files

* Misleading name fixed

  • Loading branch information...
1 parent 254afcb commit eaafc4a32a72d29640e4c9b360bfc625e579f7dd @spockz spockz committed Jan 18, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 uhc-jscript/src/Language/UHC/JScript/JQuery/JQuery.hs
@@ -81,8 +81,11 @@ foreign import jscript "%1.find(%2)"
foreign import jscript "%1.find(%2)"
findObject :: JQuery -> JQuery -> IO JQuery
+valString :: JQuery -> IO String
+valString jq = valJSString jq >>= return . fromJS
+
foreign import jscript "%1.val()"
- valString :: JQuery -> IO JSString
+ valJSString :: JQuery -> IO JSString
-------------------------------------------------------------------------------

0 comments on commit eaafc4a

Please sign in to comment.