var urlkey = new Array();
var urlKey = []; の方がイマふうです。
var domain = content.location.host;
var host = な気がします。
class Animal; | |
class Human extends Animal; | |
class Dog extends Animal; | |
class Bird extends Animal; | |
move = function(animal:Animal) { | |
if (animal is Bird) { | |
animal.fly(); | |
} else { |
var ObjectFactory = (function() { | |
var map = {}; | |
var index = 0; | |
return { | |
create: function() { | |
return this.register({}); | |
}, | |
register: function(object) { | |
object.__id__ = (new Date()).getTime() + index++; | |
map[id] = object; |
var button = new Button(buttonElement); | |
button.setState = function(state) { | |
//handle buttonElement | |
//change style, change size, insert DOM, brah brah brah | |
}; | |
//the other code accesses DOM tree directly | |
Element.remove(buttonElement); | |
button.setState('disable');//error! button cannot access buttonElement |
{ | |
"testData": [ | |
[ | |
{ | |
"hoge": "1" | |
}, | |
{ | |
"foo": "2" | |
} | |
], |
P.21 表 1.4 | |
P.141 図 5.13 | |
P.297 scr -> src |
wget --content-disposition http://hogehoge |
#!/usr/bin/perl | |
use strict; | |
use warnings; | |
use Email::MIME; | |
use Email::Send; | |
use utf8; | |
my $sender = Email::Send->new({mailer => 'Sendmail'}); | |
my $email = Email::MIME->create( |
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
# Nodoka - dotjp.nodoka | |
# Copyright (C) 1999-2005, TAGA Nayuta <[email protected]> | |
# | |
# Modify by applet on 2010-03-29 | |
# まずキーボード定義を読み込む。 | |
if ( USE104 ) | |
include "104.nodoka" # 104 キーボード設定 | |
if ( USE109on104 ) |
//require jquery1.6 | |
//i wish no-dependencies | |
/** | |
* AutoReloader.js | |
* auto reload browser if files were modified. | |
*/ | |
(function() { | |
var TARGET_FILES = [location.href]; | |
var INTERVAL = 500; |