tincr / background.html

<!doctype html>
    <title>Background Page</title>
    		ProjectTypes = [];
    		var projectsByTab= {};
    		var watchersByTab={};
    	<script src="file_utils.js"></script>
		<script src="RubyOnRailsProject.js"></script>
		<script src="ChromeExtensionProject.js"></script>
		<script src="AtlassianPluginProject.js"></script>
		<script src="FileUrlProject.js"></script>
		<script src="zepto1.0rc1.js"></script>
		<script src="RecentUpdateHandler.js"></script>
		<script src="FileWatcher.js"></script>
		<script src="ProjectManager.js"></script>
    	<embed type="application/x-npapifileioforchrome" id="pluginId" style="position:absolute; top:0px;left:-10000px;width:0px;height:0px;">
		  window.nativeFileSupport = document.getElementById("pluginId");
		<script src="FauxFilesystem.js"></script>
		  var projectManager = new ProjectManager();
		  chrome.extension.onRequest.addListener(function(request, sender, sendResponse) {
				if (request.key == 'ProjectTypes'){
					//var cleanResponse = [];
					//for (var i = 0; i < ProjectTypes.length){
					//	cleanResponse.push({name: ProjectTypes[i].name, locationType: ProjectTypes[i].locationType});
				else if (request.key == 'launchFileSelect'){
					projectManager.launchFileSelect(, request.url, request.index, sendResponse);
				else if (request.key == 'checkResources'){
					projectManager.checkResources(, request.resources, sendResponse);
				else if (request.key == 'checkResourceContent'){
					projectManager.checkResourceContent(, request.url, request.content, sendResponse);
				else if (request.key == 'updateResource'){
				    projectManager.updateResource(, request.url, request.content, sendResponse);
				else if (request.key == 'pageChanged'){
					projectManager.resetProject(, sendResponse);
				else if (request.key == 'watchDirectory'){
					projectManager.watchDirectory(, request.path);
				else if (request.key == 'loadProject'){
					projectManager.loadProject(, request.type, request.path, request.url, sendResponse);
		  chrome.tabs.onRemoved.addListener(function(tabId, removeInfo) {

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.