mirror of
http://git.whoc.org.uk/git/password-manager.git
synced 2024-11-14 18:19:02 +01:00
Added ‘use strict’ directive
This commit is contained in:
parent
be3ad5fec8
commit
87d09890a4
@ -21,6 +21,8 @@ refer to http://www.clipperz.com.
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
|
||||||
function _pm_logEvent(anEvent) {
|
function _pm_logEvent(anEvent) {
|
||||||
// console.log("####", anEvent);
|
// console.log("####", anEvent);
|
||||||
|
|
||||||
@ -60,7 +62,6 @@ function initOnMediaQuery () {
|
|||||||
}, Clipperz_PM_UI_availableStyles));
|
}, Clipperz_PM_UI_availableStyles));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function run () {
|
function run () {
|
||||||
var parameters = {};
|
var parameters = {};
|
||||||
|
|
||||||
@ -90,12 +91,6 @@ function simulateLogin () {
|
|||||||
|
|
||||||
Clipperz.Crypto.PRNG.defaultRandomGenerator().fastEntropyAccumulationForTestingPurpose();
|
Clipperz.Crypto.PRNG.defaultRandomGenerator().fastEntropyAccumulationForTestingPurpose();
|
||||||
|
|
||||||
// MochiKit.Signal.signal(Clipperz.Signal.NotificationCenter, 'doLogin', {username:'joe', passphrase:'clipperz'}); // FULL
|
|
||||||
// http://localhost:8888/delta/index.html?username=joe&passphrase=clipperz
|
|
||||||
|
|
||||||
// MochiKit.Signal.signal(Clipperz.Signal.NotificationCenter, 'doLogin', {username:';', passphrase:';'}); // EXPIRED
|
|
||||||
// http://localhost:8888/delta/index.html?username=%3B&passphrase=%3B
|
|
||||||
|
|
||||||
if ((getURLParameter('u') != null) && (getURLParameter('p'))) {
|
if ((getURLParameter('u') != null) && (getURLParameter('p'))) {
|
||||||
MochiKit.Signal.signal(Clipperz.Signal.NotificationCenter, 'doLogin', {username:getURLParameter('u'), passphrase:getURLParameter('p')});
|
MochiKit.Signal.signal(Clipperz.Signal.NotificationCenter, 'doLogin', {username:getURLParameter('u'), passphrase:getURLParameter('p')});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user