Skip to content

Commit

Permalink
Updated debug trace excludes
Browse files Browse the repository at this point in the history
  • Loading branch information
pieterv committed Apr 16, 2012
1 parent fe75bc5 commit 17a2127
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/todos/build/todos.js

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion js/todos/src/context/main.js
Expand Up @@ -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' }
]
Expand Down
6 changes: 5 additions & 1 deletion js/todos/src/context/todo.js
Expand Up @@ -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' }
]

Expand Down

0 comments on commit 17a2127

Please sign in to comment.