mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 21:01:34 +08:00
Added Application module comments. Modified Console module + comments. Changed the package name of the UnitTestApp for Android.
This commit is contained in:
@ -154,7 +154,7 @@ export class FileSystemEntity {
|
||||
*/
|
||||
get lastModified(): Date {
|
||||
var value = this[lastModifiedProperty];
|
||||
if (this[lastModifiedProperty] === undefined) {
|
||||
if (!this[lastModifiedProperty]) {
|
||||
value = this[lastModifiedProperty] = getFileAccess().getLastModified(this.path);
|
||||
}
|
||||
|
||||
|
@ -384,7 +384,7 @@ export class FileSystemAccess {
|
||||
}
|
||||
|
||||
retVal = callback(info);
|
||||
if (retVal != undefined && !retVal) {
|
||||
if (retVal === false) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -334,7 +334,7 @@ export class FileSystemAccess {
|
||||
}
|
||||
|
||||
retVal = callback(info);
|
||||
if (retVal != undefined && !retVal) {
|
||||
if (retVal === false) {
|
||||
// the callback returned false meaning we should stop the iteration
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user