aboutsummaryrefslogtreecommitdiff
path: root/src/embind
diff options
context:
space:
mode:
authorJukka Jylanki <jjylanki@imvu.com>2013-05-09 17:12:57 +0300
committerChad Austin <chad@imvu.com>2013-05-17 12:58:23 -0700
commit0074368080bee713232e0b152dc0cae790ec34d3 (patch)
treefbca319baf2508804a814912950cc2f15d807001 /src/embind
parent838780e4f396c625da10584ec2ff2256f230ba81 (diff)
Make jslint happy.
Diffstat (limited to 'src/embind')
-rw-r--r--src/embind/emval.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/embind/emval.js b/src/embind/emval.js
index 72c61196..51c54bc1 100644
--- a/src/embind/emval.js
+++ b/src/embind/emval.js
@@ -157,15 +157,15 @@ function __emval_new(handle, argCount, argTypes) {
__newers[argCount] = newer;
}
- if (argCount == 0) {
+ if (argCount === 0) {
return newer(handle, argTypes);
- } else if (argCount == 1) {
+ } else if (argCount === 1) {
return newer(handle, argTypes, arguments[3]);
- } else if (argCount == 2) {
+ } else if (argCount === 2) {
return newer(handle, argTypes, arguments[3], arguments[4]);
- } else if (argCount == 3) {
+ } else if (argCount === 3) {
return newer(handle, argTypes, arguments[3], arguments[4], arguments[5]);
- } else if (argCount == 4) {
+ } else if (argCount === 4) {
return newer(handle, argTypes, arguments[3], arguments[4], arguments[5], arguments[6]);
} else {
// This is a slow path! (.apply and .splice are slow), so a few specializations are present above.