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 lang="jp"> | |
<head> | |
<meta charset="UTF-8"> | |
<script src="js/jquery-2.1.3.min.js"></script> | |
<script src="http://code.jquery.com/ui/1.10.0/jquery-ui.js"></script> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<style> | |
body{ | |
margin:0; |
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/plugins/iOS/WebView.mm b/plugins/iOS/WebView.mm | |
index f7b246d..44a1198 100644 | |
--- a/plugins/iOS/WebView.mm | |
+++ b/plugins/iOS/WebView.mm | |
@@ -123,12 +123,15 @@ extern "C" void UnitySendMessage(const char *, const char *, const char *); | |
UIView *view = UnityGetGLViewController().view; | |
if (enableWKWebView && [WKWebView class]) { | |
- webView = [[WKWebView alloc] initWithFrame:view.frame]; | |
+ WKWebViewConfiguration *config = [[WKWebViewConfiguration alloc] init]; |
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/sample/Assets/Scripts/SampleWebView.cs b/sample/Assets/Scripts/SampleWebView.cs | |
index b1793ca..d4665cc 100644 | |
--- a/sample/Assets/Scripts/SampleWebView.cs | |
+++ b/sample/Assets/Scripts/SampleWebView.cs | |
@@ -74,7 +74,10 @@ public class SampleWebView : MonoBehaviour | |
" iframe.parentNode.removeChild(iframe);" + | |
" iframe = null;" + | |
" }" + | |
- " }" + | |
+ " };" + |
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
# brew install emacs.rb --with-cocoa --japanese | |
class Emacs < Formula | |
desc "GNU Emacs text editor" | |
homepage "https://www.gnu.org/software/emacs/" | |
url "https://ftp.gnu.org/gnu/emacs/emacs-26.1.tar.xz" | |
mirror "https://ftpmirror.gnu.org/emacs/emacs-26.1.tar.xz" | |
sha256 "1cf4fc240cd77c25309d15e18593789c8dbfba5c2b44d8f77c886542300fd32c" | |
revision 1 | |
# cf. http://qiita.com/takaxp/items/e07bb286d80fa9dd8e05 |
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 -ruN emacs-24.4.orig/configure emacs-24.4/configure | |
--- emacs-24.4.orig/configure 2014-10-18 00:54:31.000000000 +0900 | |
+++ emacs-24.4/configure 2014-10-22 11:17:48.000000000 +0900 | |
@@ -10373,7 +10373,7 @@ | |
INSTALL_ARCH_INDEP_EXTRA= | |
fi | |
- NS_OBJC_OBJ="nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o $macfont_file" | |
+ NS_OBJC_OBJ="nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o macim.o $macfont_file" | |
fi |