Skip to content

Commit 2d573a9

Browse files
committed
feat(docs): Update logs
1 parent f0920e5 commit 2d573a9

File tree

21 files changed

+63
-65
lines changed

21 files changed

+63
-65
lines changed

docs/src/components/page-parts/releases/sanitize.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ HtmlWhitelistedSanitizer.makeUrlSanitizer = function (allowedUrls) {
7373
return ''
7474
}
7575
for (var i in allowedUrls) {
76-
console.log(allowedUrls[i])
7776
if (str.startsWith(allowedUrls[i])) {
7877
return str
7978
}
@@ -114,7 +113,6 @@ HtmlWhitelistedSanitizer.prototype.sanitizeNode = function (node) {
114113
}
115114
if (!this.allowedTags.hasOwnProperty(nodeName)) {
116115
// this node isn't allowed
117-
console.log('forbidden node: ' + nodeName)
118116
if (this.escape) {
119117
return this.doc.createTextNode(node.outerHTML)
120118
}

docs/src/examples/BottomSheet/Basic.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ export default {
5353
}
5454
]
5555
}).onOk(action => {
56-
console.log('Action chosen:', action.id)
56+
// console.log('Action chosen:', action.id)
5757
}).onCancel(() => {
58-
console.log('Dismissed')
58+
// console.log('Dismissed')
5959
}).onDismiss(() => {
60-
console.log('I am triggered on both OK and Cancel')
60+
// console.log('I am triggered on both OK and Cancel')
6161
})
6262
}
6363
}

docs/src/examples/BottomSheet/Dark.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ export default {
5454
}
5555
]
5656
}).onOk(action => {
57-
console.log('Action chosen:', action.id)
57+
// console.log('Action chosen:', action.id)
5858
}).onCancel(() => {
59-
console.log('Dismissed')
59+
// console.log('Dismissed')
6060
}).onDismiss(() => {
61-
console.log('I am triggered on both OK and Cancel')
61+
// console.log('I am triggered on both OK and Cancel')
6262
})
6363
}
6464
}

docs/src/examples/Dialog/Basic.vue

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ export default {
1414
title: 'Alert',
1515
message: 'Some message'
1616
}).onOk(() => {
17-
console.log('OK')
17+
// console.log('OK')
1818
}).onCancel(() => {
19-
console.log('Cancel')
19+
// console.log('Cancel')
2020
}).onDismiss(() => {
21-
console.log('I am triggered on both OK and Cancel')
21+
// console.log('I am triggered on both OK and Cancel')
2222
})
2323
},
2424
@@ -29,13 +29,13 @@ export default {
2929
cancel: true,
3030
persistent: true
3131
}).onOk(() => {
32-
console.log('>>>> OK')
32+
// console.log('>>>> OK')
3333
}).onOk(() => {
34-
console.log('>>>> second OK catcher')
34+
// console.log('>>>> second OK catcher')
3535
}).onCancel(() => {
36-
console.log('>>>> Cancel')
36+
// console.log('>>>> Cancel')
3737
}).onDismiss(() => {
38-
console.log('I am triggered on both OK and Cancel')
38+
// console.log('I am triggered on both OK and Cancel')
3939
})
4040
},
4141
@@ -50,11 +50,11 @@ export default {
5050
cancel: true,
5151
persistent: true
5252
}).onOk(data => {
53-
console.log('>>>> OK, received', data)
53+
// console.log('>>>> OK, received', data)
5454
}).onCancel(() => {
55-
console.log('>>>> Cancel')
55+
// console.log('>>>> Cancel')
5656
}).onDismiss(() => {
57-
console.log('I am triggered on both OK and Cancel')
57+
// console.log('I am triggered on both OK and Cancel')
5858
})
5959
}
6060
}

docs/src/examples/Dialog/Dark.vue

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ export default {
1515
title: 'Alert',
1616
message: 'Some message'
1717
}).onOk(() => {
18-
console.log('OK')
18+
// console.log('OK')
1919
}).onCancel(() => {
20-
console.log('Cancel')
20+
// console.log('Cancel')
2121
}).onDismiss(() => {
22-
console.log('I am triggered on both OK and Cancel')
22+
// console.log('I am triggered on both OK and Cancel')
2323
})
2424
},
2525
@@ -31,13 +31,13 @@ export default {
3131
cancel: true,
3232
persistent: true
3333
}).onOk(() => {
34-
console.log('>>>> OK')
34+
// console.log('>>>> OK')
3535
}).onOk(() => {
36-
console.log('>>>> second OK catcher')
36+
// console.log('>>>> second OK catcher')
3737
}).onCancel(() => {
38-
console.log('>>>> Cancel')
38+
// console.log('>>>> Cancel')
3939
}).onDismiss(() => {
40-
console.log('I am triggered on both OK and Cancel')
40+
// console.log('I am triggered on both OK and Cancel')
4141
})
4242
},
4343
@@ -53,11 +53,11 @@ export default {
5353
cancel: true,
5454
persistent: true
5555
}).onOk(data => {
56-
console.log('>>>> OK, received', data)
56+
// console.log('>>>> OK, received', data)
5757
}).onCancel(() => {
58-
console.log('>>>> Cancel')
58+
// console.log('>>>> Cancel')
5959
}).onDismiss(() => {
60-
console.log('I am triggered on both OK and Cancel')
60+
// console.log('I am triggered on both OK and Cancel')
6161
})
6262
}
6363
}

docs/src/examples/Dialog/OtherOptions.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ export default {
2323
},
2424
persistent: true
2525
}).onOk(() => {
26-
console.log('>>>> OK')
26+
// console.log('>>>> OK')
2727
}).onCancel(() => {
28-
console.log('>>>> Cancel')
28+
// console.log('>>>> Cancel')
2929
}).onDismiss(() => {
30-
console.log('I am triggered on both OK and Cancel')
30+
// console.log('I am triggered on both OK and Cancel')
3131
})
3232
},
3333
@@ -52,12 +52,12 @@ export default {
5252
title: 'Alert',
5353
message: 'Autoclosing in 3 seconds.'
5454
}).onOk(() => {
55-
console.log('OK')
55+
// console.log('OK')
5656
}).onCancel(() => {
57-
console.log('Cancel')
57+
// console.log('Cancel')
5858
}).onDismiss(() => {
5959
clearTimeout(timer)
60-
console.log('I am triggered on both OK and Cancel')
60+
// console.log('I am triggered on both OK and Cancel')
6161
})
6262
6363
const timer = setTimeout(() => {

docs/src/examples/Dialog/Pickers.vue

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ export default {
2626
cancel: true,
2727
persistent: true
2828
}).onOk(data => {
29-
console.log('>>>> OK, received', data)
29+
// console.log('>>>> OK, received', data)
3030
}).onCancel(() => {
31-
console.log('>>>> Cancel')
31+
// console.log('>>>> Cancel')
3232
}).onDismiss(() => {
33-
console.log('I am triggered on both OK and Cancel')
33+
// console.log('I am triggered on both OK and Cancel')
3434
})
3535
},
3636
@@ -51,11 +51,11 @@ export default {
5151
cancel: true,
5252
persistent: true
5353
}).onOk(data => {
54-
console.log('>>>> OK, received', data)
54+
// console.log('>>>> OK, received', data)
5555
}).onCancel(() => {
56-
console.log('>>>> Cancel')
56+
// console.log('>>>> Cancel')
5757
}).onDismiss(() => {
58-
console.log('I am triggered on both OK and Cancel')
58+
// console.log('I am triggered on both OK and Cancel')
5959
})
6060
},
6161
@@ -76,11 +76,11 @@ export default {
7676
cancel: true,
7777
persistent: true
7878
}).onOk(data => {
79-
console.log('>>>> OK, received', data)
79+
// console.log('>>>> OK, received', data)
8080
}).onCancel(() => {
81-
console.log('>>>> Cancel')
81+
// console.log('>>>> Cancel')
8282
}).onDismiss(() => {
83-
console.log('I am triggered on both OK and Cancel')
83+
// console.log('I am triggered on both OK and Cancel')
8484
})
8585
}
8686
}

docs/src/examples/Dialog/UnsafeHtml.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ export default {
1313
message: '<em>I can</em> <span class="text-red">use</span> <strong>HTML</strong>',
1414
html: true
1515
}).onOk(() => {
16-
console.log('OK')
16+
// console.log('OK')
1717
}).onCancel(() => {
18-
console.log('Cancel')
18+
// console.log('Cancel')
1919
}).onDismiss(() => {
20-
console.log('I am triggered on both OK and Cancel')
20+
// console.log('I am triggered on both OK and Cancel')
2121
})
2222
}
2323
}

docs/src/examples/Notify/Positioning.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ export default {
8585
multiLine,
8686
actions: twoActions
8787
? [
88-
{ label: 'Reply', color: buttonColor, handler: () => console.log('wooow') },
89-
{ label: 'Dismiss', color: 'yellow', handler: () => console.log('wooow') }
88+
{ label: 'Reply', color: buttonColor, handler: () => { /* console.log('wooow') */ } },
89+
{ label: 'Dismiss', color: 'yellow', handler: () => { /* console.log('wooow') */ } }
9090
]
9191
: (random > 40
92-
? [ { label: 'Reply', color: buttonColor, handler: () => console.log('wooow') } ]
92+
? [ { label: 'Reply', color: buttonColor, handler: () => { /* console.log('wooow') */ } } ]
9393
: null
9494
),
9595
timeout: Math.random() * 5000 + 3000

docs/src/examples/QBtn/Links.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ export default {
1414
linkClick (e, go) {
1515
e.navigate = false // we choose when we navigate
1616
17-
console.log('triggering navigation in 2s')
17+
// console.log('triggering navigation in 2s')
1818
setTimeout(() => {
19-
console.log('navigating as promised 2s ago')
19+
// console.log('navigating as promised 2s ago')
2020
go()
2121
}, 2000)
2222
}

0 commit comments

Comments
 (0)