charting refactor into shapes, not debugged
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import {routeInverted, timestamp} from "@/misc.js";
|
||||
import {MAX_FRACTION, newTranche} from "@/blockchain/orderlib.js";
|
||||
import {useOrderStore} from "@/store/store.js";
|
||||
import {encodeIEE754} from "@/blockchain/common.js";
|
||||
import {encodeIEE754} from "@/common.js";
|
||||
import {defineStore} from "pinia";
|
||||
import {computed, ref} from "vue";
|
||||
|
||||
@@ -10,7 +10,7 @@ function unimplemented() { throw Error('Unimplemented') }
|
||||
|
||||
// Builders are data objects which store a configuration state
|
||||
function TrancheBuilder( component, options = {}) {
|
||||
const id = 'builder-'+Date.now();
|
||||
const id = crypto.randomUUID()
|
||||
return {id, component, options, points: {}, shapes: {}, props: {}, build: unimplemented}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user