#685: code review

This commit is contained in:
gorhill 2015-02-12 12:25:19 -05:00
parent bc7434cf5c
commit 65cb46c845
2 changed files with 7 additions and 23 deletions

View File

@ -1,3 +1,9 @@
<!DOCTYPE html>
<head>
<script src="js/vapi-client.js"></script>
<script src="js/vapi-common.js"></script>
<script src="js/options_ui.js"></script>
<title></title>
</head>
<body>
</body>
</html>

View File

@ -23,28 +23,6 @@
/* global self */
/******************************************************************************/
(function() {
'use strict';
var fileName = 'options_ui.html';
if ( location.pathname.slice(-fileName.length) === fileName ) {
var messager = vAPI.messaging.channel('_open');
messager.send({
what: 'gotoURL',
details: {
url: 'dashboard.html',
index: -1
}
});
window.close();
}
})();
/******************************************************************************/
/******************************************************************************/