#Few Line of Hack Code Make React-Native Run on Windows
While React-Native just add support of Android,yet officeally they just only support on OSX.
After a few hours of debugging, I find a simple way of let React-Native run on Windows.
package main | |
import ( | |
"fmt" | |
"gopkg.in/gographics/imagick.v2/imagick" | |
) | |
type asset struct { | |
size float32 |
/** | |
* 图像匹配 - 在另一附图中找到匹配部分(小图是大图中的一部分) | |
* 1. 归一化互相关算法 - 简单, 但是需要尺寸不变, 应用较少 | |
* 2. SIFT(Scale-invariant feature transform, 尺度不变特征转换) - 对形变支持好 | |
* | |
* 图像相似度识别 - 给出两幅图的相似程度 | |
* 1. 颜色直方图计算方法 | |
* 缺点: 按照颜色的全局分布来看的,无法描述颜色的局部分布和色彩所处的位置。 | |
* 2. 图像指纹与汉明距离 (图像相似度比较的核心思想) |
[ | |
{ | |
"name":"ABAP", | |
"type":"programming", | |
"extensions":[ | |
".abap" | |
] | |
}, | |
{ | |
"name":"AGS Script", |
declare module "react-native" { | |
import * as React from 'react'; | |
import {ComponentClass, ReactType, ReactNode, ReactElement} from 'react'; | |
export * from 'react'; | |
/** | |
* Represents the completion of an asynchronous operation | |
* @see lib.es6.d.ts |
- 我想要挑戰isomorphic,但目前好像比較少redux配isomorphic又配上webpack的方案 | |
- 這個範例可看,最近全部改寫過 | |
- https://github.com/coodoo/react-redux-isomorphic-example | |
- 注意下面幾點 | |
- js/bootClient.js 與 js/bootServer.js | |
- bootServer.js 負責做 server-render |
headers: | |
_ASAsyncTransaction.h | |
_ASAsyncTransactionGroup.h | |
_ASDisabledPanUITextView.h | |
_ASDisplayLayer.h | |
_ASDisplayLayerDelegate-Protocol.h | |
_ASDisplayView.h | |
_ASImageNodeDrawParameters.h | |
_ASPendingState.h | |
_ASTextNodeCachedMetrics.h |
createElement.js lets document.createElement use CSS selectors.
This is a pretty useful library for building out DOM elements. The whole thing runs on one regex and a for loop, so it’s plenty fast. The script is 300 bytes when compressed and gzipped. For 524 bytes (advanced), it includes nesting support and can generate entire DOM hierarchies, including text nodes.
document.createElement(); // generates <div />