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
@namespace url(http://www.w3.org/1999/xhtml); | |
ul:before,ul:after, | |
ol:before,ol:after, | |
dl:before,dl:after, | |
dt:before,dt:after, | |
dd:before,dd:after, | |
li:before,li:after, | |
h1:before,h1:after, | |
h2:before,h2:after, |
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
(function () { | |
Ti.UI.setBackgroundColor('#fff'); | |
Ti.Facebook.forceDialogAuth = false; | |
Ti.Facebook.appid = '【App ID】'; | |
Ti.Facebook.permissions = ['publish_stream']; | |
var win = Ti.UI.createWindow({ title: 'TiFbOauth', tabBarHidden: true }); | |
var fbLoginBtn = Ti.Facebook.createLoginButton(); |
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
MyApp = | |
method: require '/js/method' | |
$ = MyApp | |
uiStyle = | |
# 店舗情報レイヤー | |
mapSubView: | |
top: 0 | |
height: '88dp' | |
backgroundGradient: |
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
// require | |
var MyApp = { | |
name: require('') | |
}; | |
var $ = MyApp; | |
var platform = Ti.Platform.name; |
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
# Class | |
class NavGroup | |
constructor: (@win)-> | |
@NavGroup = Ti.UI.iPhone.createNavigationGroup | |
window: @win | |
return @NavGroup | |
class TableView | |
constructor: (@win)-> | |
@TableView = Ti.UI.createTableView |
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 lang="ja"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title></title> | |
<meta name="keywords" content=""> | |
<meta name="description" 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
class DynamicScroll | |
constructor: (@data, @rows)-> | |
@page = 1 | |
@lastIndex = 0 | |
@maxLength = data.length | |
hasNext: -> | |
return @lastIndex < @maxLength | |
next: -> | |
stat = @lastIndex | |
end = @rows * ( @page - 1 ) + @rows |
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
Password = | |
SYMBOL: '!"#$%&\'()' | |
NUMBER: '1234567890' | |
ABC_L: 'abcdefghijklmnopqrstuvwxyz' | |
ABC_U: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
generate: (len)-> | |
password = '' | |
# 11以下 -> 12, 17以上 -> 16 | |
len = 12 if typeof len is 'undefined' or len <= 11 |
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
<button id="addNewObserver">Add New Observer checkbox</button> | |
<input id="mainCheckbox" type="checkbox"> | |
<div id="observersContainer"></div> |
OlderNewer