We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e40d3bd commit 83aaccfCopy full SHA for 83aaccf
package.json
@@ -44,6 +44,7 @@
44
"dependencies": {
45
"he": "^1.1.1",
46
"lint-staged": "^4.3.0",
47
+ "util-inspect": "^0.1.8",
48
"vue": "^2.5.8"
49
},
50
"peerDependencies": {
platform/nativescript/framework.js
@@ -1,5 +1,18 @@
1
+import inspect from 'util-inspect'
2
+
3
+console.log = (function(log, inspect) {
4
+ return function() {
5
+ return log.apply(
6
+ this,
7
+ Array.prototype.map.call(arguments, function(arg) {
8
+ return inspect(arg, { depth: 1, colors: true })
9
+ })
10
+ )
11
+ }
12
+})(console.log, inspect)
13
14
console.keys = function(object) {
- console.dir(Object.keys(object))
15
+ console.log(Object.keys(object))
16
}
17
18
// This is required because some of the third party plugins rely on this
0 commit comments