Comparing version 0.0.19 to 0.0.20
@@ -21,6 +21,2 @@ /** @jsx createElement */ | ||
var _nukeEnv = require('nuke-env'); | ||
var _nukeEnv2 = _interopRequireDefault(_nukeEnv); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -36,2 +32,3 @@ | ||
var isWeb = typeof callNative !== 'function'; | ||
var defaultLineHeightOptimizer = function defaultLineHeightOptimizer(fontSize) { | ||
@@ -41,4 +38,2 @@ return Math.ceil(9.24 * Math.pow(10, -5) * Math.pow(fontSize, 2) + 1.492 * fontSize + 2.174); | ||
var isWeb = _nukeEnv2.default.isWeb; | ||
var Text = function (_Component) { | ||
@@ -45,0 +40,0 @@ _inherits(Text, _Component); |
{ | ||
"name": "nuke-text", | ||
"version": "0.0.19", | ||
"version": "0.0.20", | ||
"description": "文本", | ||
"main": "lib/index", | ||
"files": [ | ||
"lib", | ||
"docs", | ||
"theme", | ||
"README.md", | ||
"HISTORY.md" | ||
], | ||
"keywords": [ | ||
"nuke", | ||
"nuke-text" | ||
], | ||
"files": ["lib", "docs", "theme", "README.md", "HISTORY.md"], | ||
"keywords": ["nuke", "nuke-text"], | ||
"author": { | ||
@@ -48,4 +39,3 @@ "name": "leanhunter", | ||
"rax-text": "^0.4.20", | ||
"nuke-helper": "^0.x.x", | ||
"nuke-env": "^1.x.x" | ||
"nuke-helper": "^0.x.x" | ||
}, | ||
@@ -52,0 +42,0 @@ "devDependencies": { |
2
23964
225
- Removednuke-env@^1.x.x
- Removednuke-env@1.0.1(transitive)
- Removedua-parser-js@0.7.39(transitive)