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
// | |
// Alamofire+Reactive.swift | |
// architecture | |
// | |
// Created by MakotoAoyama on 9/8/17. | |
// | |
import Foundation | |
import ReactiveSwift | |
import Alamofire |
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
// | |
// UIScrollView+rearchedBottom.swift | |
// architecture | |
// | |
// Created by MakotoAoyama on 8/18/17. | |
// | |
import Foundation | |
import ReactiveSwift | |
import Result |
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(){ | |
$('.blocklink a').each(function(){ | |
var href = $(this).attr('href'); | |
var target = $(this).attr('target'); | |
$(this).parent().click(function() { | |
if(target){ | |
window.open(href,'_blank'); | |
}else{ | |
document.location = href; |