Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #226 from dotCypress/Degugger

Debugger injection
  • Loading branch information...
commit d808593beccd1790be0b6f58dd531cc077cb2f23 2 parents 454ea64 + 49ce4b8
@addyosmani addyosmani authored
Showing with 5 additions and 4 deletions.
  1. +5 −3 lib/ext/debug.js
  2. +0 −1  lib/logger.js
View
8 lib/ext/debug.js
@@ -1,11 +1,13 @@
define('aura/ext/debug', function() {
-
'use strict';
return {
-
name: 'debug',
- initialize: function(app) {}
+ initialize: function(app) {
+ if (typeof window.attachDebugger === 'function') {
+ window.attachDebugger(app);
+ }
+ }
};
});
View
1  lib/logger.js
@@ -43,4 +43,3 @@ define([], function() {
return Logger;
});
-
Please sign in to comment.
Something went wrong with that request. Please try again.