D | V9_PreferencesCallBackJsunit.test.js | 40 mPreference.put(KEY_TEST_STRING_ELEMENT, 'abc', function (err, ret) { argument 41 if (err) { 42 … console.log("put err =" + err + ", code =" + err.code + ", message =" + err.message) 64 mPreference.clear(function (err, val) { argument 65 if(err){ 66 … console.log("clear err =" + err + ", code =" + err.code +", message =" + err.message) 69 mPreference.put(KEY_TEST_STRING_ELEMENT, 'abc', function (err, ret) { argument 70 if(err){ 71 … console.log("put err =" + err + ", code =" + err.code +", message =" + err.message) 74 … mPreference.get(KEY_TEST_STRING_ELEMENT, "defaultvalue", function (err, pre) { argument [all …]
|