思いついたら足していく
「コンポーネントのエレメントのエレメントのエレメントの...」として定義している
<div class="v1-news">
@font-face { | |
font-family: xYuMincho; | |
font-weight: normal; | |
src: local( "YuMincho-Regular" ), | |
local( "Yu Mincho Regular" ), | |
local( "YuMin-Medium" ), | |
local( "YuMincho Medium" ), | |
local( "Yu Mincho" ); | |
} |
//=========================================== | |
// API | |
app.api._createSinglePipeRequestFn = function(options) { | |
/* | |
options should have... | |
type: 'GET' // or 'POST' | |
url: '/blahblah/' | |
*/ | |
return (function() { |
var legacyIE = (function() { | |
var ua = navigator.userAgent; | |
var matchRes = ua.match(/msie\s?(\d+)/i); | |
// '.... MSIE 7.0; Windows....' | |
// => ["MSIE 7", "7"] | |
if(!matchRes) { return false; } | |
var version = matchRes[1]; |
if ((navigator.userAgent.indexOf('iPhone') !== -1 && navigator.userAgent.indexOf('iPad') === -1) || navigator.userAgent.indexOf('iPod') !== -1 || /Android.+Mobile/.test(navigator.userAgent)) { | |
location.href = '/hoge/'; | |
} |