Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 12 additions & 5 deletions .bitmap
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,37 @@
"models/cart-item": {
"name": "models/cart-item",
"scope": "bitdev.git-sync-demo",
"version": "0.0.2",
"version": "85dc0f0fe69ba7140a2e7793b466e118c66cd4d9",
"mainFile": "index.ts",
"rootDir": "components/models/cart-item"
},
"ui/cart-summary": {
"name": "ui/cart-summary",
"scope": "bitdev.git-sync-demo",
"version": "0.0.2",
"version": "d774c056eb960c77748808e8c20b91d9a6b660be",
"mainFile": "index.ts",
"rootDir": "components/ui/cart-summary"
},
"ui/price-tag": {
"name": "ui/price-tag",
"scope": "bitdev.git-sync-demo",
"version": "0.0.2",
"version": "6b102f53a09aca3cfbf0de235b06fdc698e69884",
"mainFile": "index.ts",
"rootDir": "components/ui/price-tag"
},
"utils/format-price": {
"name": "utils/format-price",
"scope": "bitdev.git-sync-demo",
"version": "89227d196122fbfdabac92b14d4d3e762b5b41a3",
"version": "d6935a57055f73e6ea835befa2f5a07fd91e7a93",
"mainFile": "index.ts",
"rootDir": "components/utils/format-price"
},
"$schema-version": "17.0.0"
"$schema-version": "17.0.0",
"_bit_lane": {
"id": {
"name": "token-check",
"scope": "bitdev.git-sync-demo"
},
"exported": true
}
}
2 changes: 1 addition & 1 deletion components/utils/format-price/format-price.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Formats an amount of money for display. Rejects NaN and infinities.
* Formats an amount of money for display. Rejects NaN and infinities (token check, git side).
* Example: formatPrice(1999.5) returns "$1,999.50".
* The currency and the locale are optional. The default is US dollars in
* the en-US locale.
Expand Down