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
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>test</title> | |
<style> | |
html, body, .page { | |
margin: 0; | |
padding: 0; | |
} | |
.page { |
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
'use strict'; | |
var page = require('webpage').create(); | |
var system = require('system'); | |
var address; | |
var output; | |
if (system.args.length < 3) { | |
console.log('Usage: rasterize.js [URL|filepath] filename'); | |
phantom.exit(1); |
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/example/src/components.js b/example/src/components.js | |
index 61a833c..5abdd2d 100644 | |
--- a/example/src/components.js | |
+++ b/example/src/components.js | |
@@ -37,6 +37,14 @@ var WrapIntlComponent = React.createClass({ | |
var Container = global.Container = React.createClass({ | |
mixins: [ReactIntlMixin], | |
+ childContextTypes: { | |
+ country: React.PropTypes.string |
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 installSharekit(cb) { | |
var myProj = xcode.project(pbxProjPath); | |
myProj.parse(function (err) { | |
if (err) { | |
logger.warn('installSharekit myProj.parse error', err); | |
cb(err); | |
} | |
var sharekitPath = 'ShareKit/ShareKit.xcodeproj'; |