Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated debug trace excludes

  • Loading branch information...
commit 17a2127652d8d785653b1cca1ce150d6dbabbab5 1 parent fe75bc5
@pieterv pieterv authored
View
2  js/todos/build/todos.js
1 addition, 1 deletion not shown
View
6 js/todos/src/context/main.js
@@ -67,7 +67,11 @@ define( {
},
plugins: [
- { module: 'wire/debug', trace: true }, // Uncomment to see what's going on inside this spec
+ { module: 'wire/debug', // Uncomment to see what's going on inside this spec
+ trace: {
+ pointcut: /^((?!(model$|constructor$|_)).*)$/ // Stop constructors being wrapped as functions
+ }
+ },
{ module: 'wire/jquery/dom' },
{ module: 'wire/backbone/events' }
]
View
6 js/todos/src/context/todo.js
@@ -78,7 +78,11 @@ define( {
},
plugins: [
- { module: 'wire/debug', trace: true }, // Uncomment to see what's going on inside this spec
+ { module: 'wire/debug', // Uncomment to see what's going on inside this spec
+ trace: {
+ pointcut: /^((?!(model$|constructor$|_)).*)$/ // Stop constructors being wrapped as functions
+ }
+ },
{ module: 'wire/backbone/events' }
]

0 comments on commit 17a2127

Please sign in to comment.
Something went wrong with that request. Please try again.