greenmotion-wasm
Advanced tools
Comparing version 0.4.0 to 0.5.0
@@ -62,1 +62,11 @@ let wasm; | ||
/** | ||
* @param {number} vehicle_distance | ||
* @param {number} mpg | ||
* @returns {number} | ||
*/ | ||
export function calculateGallons(vehicle_distance, mpg) { | ||
const ret = wasm.calculateGallons(vehicle_distance, mpg); | ||
return ret; | ||
} | ||
@@ -35,1 +35,7 @@ /* tslint:disable */ | ||
export function calculateWastedJoules(car_joules: number, pedestrian_calories: number): number; | ||
/** | ||
* @param {number} vehicle_distance | ||
* @param {number} mpg | ||
* @returns {number} | ||
*/ | ||
export function calculateGallons(vehicle_distance: number, mpg: number): number; |
{ | ||
"name": "greenmotion-wasm", | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"files": [ | ||
@@ -5,0 +5,0 @@ "greenmotion_wasm_bg.wasm", |
Sorry, the diff of this file is not supported yet
3588
107