Commits

ryanackley committed f3c2b69

minor bug fixes

  • Participants
  • Parent commits cc851aa

Comments (0)

Files changed (4)

File AtlassianPluginProject.js

 				for (var i = 0; i < resources.length; i++){
 					var attributes = resources[i].attributes;
 					var location = attributes.location.value;
-					if (location.indexOf('.js') != location.length - 3 && location.indexOf('.css') != location.length - 4){
+					if (location.indexOf('.js') != location.length - 3 && location.indexOf('.css') != location.length - 4 && location.indexOf('.soy') != location.length - 4){
 						continue;
 					}
 					var moduleKey = resources[i].parentNode.attributes.key.value;

File ResourceChecker.js

 				checkResources();
 			});
 		});
+		chrome.devtools.inspectedWindow.onResourceAdded.addListener(function(resource){
+			console.log('resource added');
+			matchResourcesWithProject([resource]);
+		});
 	}
 	navListenerRegistered = true;
 }

File background.html

 					});
 				}
 				else if (request.key == 'pageChanged'){
-					currentProject.resetUrls()
+					currentProject.resetUrls();
 					sendResponse();
 				}
 				else if (request.key == 'watchDirectory'){

File manifest.json

   "background_page": "background.html",
   "permissions": ["http://*/", "https://*/"],
   "plugins": [
-    { "path": "npNPAPIFileIOforChrome.so", "public": false }
+    { "path": "NPAPIFileIOforChrome.plugin", "public": false }
   ]
 }