This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import RecordData from "../data/RecordData"; | |
import { observable, computed, action } from "mobx"; | |
import DataLoader from "../services/DataLoader"; | |
import TableData from './TableData'; | |
export default class Store { | |
@observable records: RecordData[] = []; | |
@observable searchString: string = ""; | |
@observable tableData:TableData = new TableData(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { KeyboardEvent, Component } from "react"; | |
import { | |
makeStyles, | |
withStyles, | |
Theme, | |
createStyles | |
} from "@material-ui/core/styles"; | |
import Table from "@material-ui/core/Table"; | |
import TableHead from "@material-ui/core/TableHead"; | |
import TableBody from "@material-ui/core/TableBody"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import haxe.Constraints.Function; | |
abstract Event<T:Function>(String) { | |
public inline function new(name) { | |
this = name; | |
} | |
} | |
extern class EventEmitter { | |
function new(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( asset ) { // если ассет, то помучаемся | |
DeleteUtils.remove(asset._managers, this ); | |
for each ( var has:Boolean in asset._managers ) break; | |
// вот что здесь должно быть? первое значение? любое значение? | |
if ( !has ) { | |
DeleteUtils.remove(_HASH, bundleName ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private function checkPermissions():void { | |
if (File.permissionStatus != PermissionStatus.GRANTED){ | |
var dir:File = File.documentsDirectory.resolvePath("air.ru.mail.games.riotzone"); | |
//dir.addEventListener(PermissionEvent.PERMISSION_STATUS, permissionStatusHandler); | |
_interval = setInterval(checkPermissionAnswer, 1000); | |
dir.requestPermission(); | |
} else { | |
initApp(); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private function checkPermissions():void { | |
if (File.permissionStatus != PermissionStatus.GRANTED){ | |
var dir:File = File.documentsDirectory.resolvePath("air.ru.myGame"); | |
dir.addEventListener(PermissionEvent.PERMISSION_STATUS, permissionStatusHandler); | |
dir.requestPermission(); | |
} else { | |
initApp(); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" standalone="no"?> | |
<application xmlns="http://ns.adobe.com/air/application/[airVersionPattern]"> | |
<filename>[fileNamePattern]</filename> | |
<id>[packagePattern]</id> | |
<name>[namePattern]</name> | |
<versionNumber>[versionNumberPattern]</versionNumber> | |
<versionLabel>[versionLabelPattern]</versionLabel> | |
<initialWindow> | |
<content>[This value will be overwritten by Flash Builder in the output app.xml]</content> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private function writeNextFile():void { | |
Tracer.add("DownloadTarResourcesCommand.writeNextFile:",_filesToWriteCount, _filesToWrite.length, MAX_FILES_TO_WRITE, _totalFilesToWriteCount); | |
var tarFile:TarFile; | |
if (_filesToWriteCount <= MAX_FILES_TO_WRITE && _filesToWrite.length > 0){ | |
tarFile = _filesToWrite.pop(); | |
_filesToWriteCount++; | |
var path: String = _context.hash[tarFile.name].md5Name; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new EazeTween(_fg) | |
.to(0.2e3, { alpha: 1 }) | |
.onComplete(function():void { | |
updateValue(); | |
if ( _fg ) { | |
new EazeTween(_fg).to(0.5e3, { alpha: 0 } ); | |
} | |
}); | |
// эквивалент ли? |
NewerOlder