mirror of https://github.com/apache/cloudstack.git
fix typos and unnecessary comments
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
c98de8d7a9
commit
20facfefba
|
|
@ -13,7 +13,7 @@ export const deviceEnquire = function (callback) {
|
|||
}
|
||||
}
|
||||
|
||||
const matchLablet = {
|
||||
const matchTablet = {
|
||||
match: () => {
|
||||
callback && callback(DEVICE_TYPE.TABLET)
|
||||
}
|
||||
|
|
@ -28,6 +28,6 @@ export const deviceEnquire = function (callback) {
|
|||
// screen and (max-width: 1087.99px)
|
||||
enquireJs
|
||||
.register('screen and (max-width: 576px)', matchMobile)
|
||||
.register('screen and (min-width: 576px) and (max-width: 1199px)', matchLablet)
|
||||
.register('screen and (min-width: 576px) and (max-width: 1199px)', matchTablet)
|
||||
.register('screen and (min-width: 1200px)', matchDesktop)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ Vue.filter('NumberFormat', function (value) {
|
|||
if (!value) {
|
||||
return '0'
|
||||
}
|
||||
const intPartFormat = value.toString().replace(/(\d)(?=(?:\d{3})+$)/g, '$1,') // 将整数部分逢三一断
|
||||
const intPartFormat = value.toString().replace(/(\d)(?=(?:\d{3})+$)/g, '$1,')
|
||||
return intPartFormat
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue