diff options
author | Jukka Jylanki <jjylanki@imvu.com> | 2013-05-09 17:12:57 +0300 |
---|---|---|
committer | Chad Austin <chad@imvu.com> | 2013-05-17 12:58:23 -0700 |
commit | 0074368080bee713232e0b152dc0cae790ec34d3 (patch) | |
tree | fbca319baf2508804a814912950cc2f15d807001 /src/embind | |
parent | 838780e4f396c625da10584ec2ff2256f230ba81 (diff) |
Make jslint happy.
Diffstat (limited to 'src/embind')
-rw-r--r-- | src/embind/emval.js | 10 |
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. |