This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Name | Input | Output | |
---|---|---|---|
Gemini 2.0 Flash-Lite | $0.075 | $0.30 | |
Mistral 3.1 Small | $0.10 | $0.30 | |
Gemini 2.0 Flash | $0.10 | $0.40 | |
ChatGPT 4.1-nano | $0.10 | $0.40 | |
DeepSeek v3 (old) | $0.14 | $0.28 | |
ChatGPT 4o-mini | $0.15 | $0.60 | |
DeepSeek v3 | $0.27 | $1.10 | |
Grok 3-mini | $0.30 | $0.50 | |
ChatGPT 4.1-mini | $0.40 | $1.60 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @param {Event} evt | |
* @return {Object} | |
*/ | |
function getMousePosition(evt) { | |
var pageX = evt.pageX; | |
var pageY = evt.pageY; | |
if (pageX === undefined) { | |
pageX = evt.clientX + document.body.scrollLeft + document.documentElement.scrollLeft; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// http://eslint.org/docs/rules/ | |
"ecmaFeatures": { | |
"binaryLiterals": false, // enable binary literals | |
"blockBindings": false, // enable let and const (aka block bindings) | |
"defaultParams": false, // enable default function parameters | |
"forOf": false, // enable for-of loops | |
"generators": false, // enable generators | |
"objectLiteralComputedProperties": false, // enable computed object literal property names |