summaryrefslogtreecommitdiff
path: root/src/js.c
diff options
context:
space:
mode:
authorDaniel Carl <danielcarl@gmx.de>2014-08-03 01:27:27 +0200
committerDaniel Carl <danielcarl@gmx.de>2014-08-03 01:27:27 +0200
commitc57b10a1e920c4454e1e089e0cbbfeef3a1ccac0 (patch)
tree2f49ef72a7f5f2cbf710a684625a2f72d63ed887 /src/js.c
parentc7b8f534a7e2f256e0e9ec1eb9b93c8ef80658dc (diff)
Fixed some typos.
Diffstat (limited to 'src/js.c')
-rw-r--r--src/js.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/js.c b/src/js.c
index 7f4c825..dd90793 100644
--- a/src/js.c
+++ b/src/js.c
@@ -66,7 +66,7 @@ gboolean js_eval(JSContextRef ctx, const char *script, const char *file,
}
/**
- * Creates a JavaScript object in contect of given frame.
+ * Creates a JavaScript object in context of given frame.
*/
JSObjectRef js_create_object(JSContextRef ctx, const char *script)
{
@@ -118,7 +118,7 @@ char* js_object_call_function(JSContextRef ctx, JSObjectRef obj,
}
/**
- * Retrune a new allocates string for given value reference.
+ * Returns a new allocates string for given value reference.
* String must be freed if not used anymore.
*/
char* js_ref_to_string(JSContextRef ctx, JSValueRef ref)