aboutsummaryrefslogtreecommitdiff
path: root/js/popup-scriptload.js
blob: bcb53701d0f2606bae3a9e4a4906b1c5fef32b79 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Do it this way to make the Firefox version work with content
//scripts and all that crap. Will be removed when everything
//can use the WebExtensions API.

function loadScript(path) {
	document.write('<script src="' + path + '"></script>');
}

if (typeof chrome !== 'undefined') {
	loadScript("js/angular.min.js");
	loadScript("js/popup.js");
}