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
// | |
// CameraViewController.swift | |
// | |
// Created by Tadatoshi Hanazaki on 2016/01/17. | |
// Copyright © 2016年 close-to.biz. All rights reserved. | |
// | |
import UIKit | |
import AVFoundation |
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
{ | |
"env": { | |
"node": true, | |
"es6": true, | |
"modules": true | |
}, | |
"ecmaFeatures": { | |
"jsx": true, | |
"blockBindings": true, | |
"forOf" : true, |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Hello World!</title> | |
</head> | |
<body> | |
<h1>Hello World!</h1> | |
We are using io.js <script>document.write(process.version)</script> | |
and Electron <script>document.write(process.versions['electron'])</script>. | |
</body> |
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
var app = require('app'); // Module to control application life. | |
var BrowserWindow = require('browser-window'); // Module to create native browser window. | |
// Report crashes to our server. | |
require('crash-reporter').start(); | |
// Keep a global reference of the window object, if you don't, the window will | |
// be closed automatically when the javascript object is GCed. | |
var mainWindow = null; |
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
'Window': { | |
backgroundColor: '#ffffff', // 画面背景色 | |
barColor: "aqua", // ナビゲーションバーの背景色 | |
tintColor : "red", // 配下のViewの色合いに影響 (TextAreaのキャレット色とか) | |
navTintColor : "blue", // 子Windowで戻るのクチバシの色とか |
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
index.xml | |
<Alloy> | |
<Window> | |
<Button onClick="testMe">Button</Button> | |
</Window> | |
</Alloy> | |
index.js | |
$.index.open(); | |
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
Titanium Alloy での ListView のイベントハンドリング | |
Alloyでのclickイベント制御の書き方の一例です。 | |
```/app/controller/sample.js | |
var data = []; | |
... | |
data.push({ |
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
String httpProtocol = request.getScheme(); | |
timSrv.deleteComment(owner, commentID, httpProtocol); | |
Map<String, String> jsonData = new HashMap<String, String>(); |
NewerOlder