mitsuruog:generator-sapui5 mitsuruog$ npm publish
npm http PUT https://registry.npmjs.org/generator-sapui5
npm http 409 https://registry.npmjs.org/generator-sapui5
npm http GET https://registry.npmjs.org/generator-sapui5
npm http 200 https://registry.npmjs.org/generator-sapui5
npm http PUT https://registry.npmjs.org/generator-sapui5
npm http 403 https://registry.npmjs.org/generator-sapui5
npm http PUT https://registry.npmjs.org/generator-sapui5
npm http 403 https://registry.npmjs.org/generator-sapui5
This file contains 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> | |
<meta name="description" content="SAPUI5でHello world" /> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<title>Hello SAPUI5</title> | |
<script id="sap-ui-bootstrap" type="text/javascript" | |
src="https://sapui5.hana.ondemand.com/resources/sap-ui-core.js" | |
data-sap-ui-theme="sap_bluecrystal" |
This file contains 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
//3.0.3以降 | |
$myModal = $('#myModal').modal({}, { | |
person: 'mitsuruog' | |
}); | |
$myModal.on('show.bs.modal', function(e) { | |
var name = e.relatedTarget.person; | |
} |
This file contains 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 cancelEvent(e) { | |
e.preventDefault(); | |
e.stopPropagation(); | |
} | |
//ファイルがドロップされたら動くコード | |
function handllerDroppedFile(e) { | |
// |
This file contains 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
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
uglify: { | |
options: { | |
banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n' | |
}, | |
dist: { | |
src: 'src/<%= pkg.name %>.js', | |
dest: 'dist/<%= pkg.name %>.min.js' | |
} |
This file contains 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
/** | |
* Module dependencies. | |
*/ | |
var soda = require('soda'), | |
assert = require('assert'); | |
var browser = soda.createClient({ | |
host: 'localhost', | |
port: 4444, |
Thanks!! https://github.com/cap-nakamura/test/wiki/Install-easymock-version-0.2.1
Install easymock version 0.2.5
https://github.com/CyberAgent/node-easymock/
準備
https://github.com/google/ios-webkit-debug-proxy
iOSとLinuxのみ。Windowsは動作しない。
公式チュートリアルにあるようにbrewで簡単インストール
brew install ios-webkit-debug-proxy
These examples are type 3 RESTful API requests and responses. The JSON-HAL specification is used to implement HATEOAS.
Some of the examples are based on my work as architect of the RESTful API at http://www.hautelook.com. All proprietary information has been removed.
- JSON-HAL specification: http://stateless.co/hal_specification.html#media_type_identifiers
- JSON linking with HAL: http://blog.stateless.co/post/13296666138/json-linking-with-hal
This file contains 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
diff --git a/index.html b/index.html | |
index e62aa92..0845ce5 100644 | |
--- a/index.html | |
+++ b/index.html | |
@@ -3,7 +3,9 @@ | |
<head> | |
<meta http-equiv="content-type" content="text/html;charset=UTF-8" /> | |
<meta http-equiv="X-UA-Compatible" content="chrome=1" /> | |
- <meta name="viewport" content="width=device-width" /> | |
+ <meta name="viewport" content="width=device-width, initial-scale=1.0"/> |