react-mapbox-components
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -0,1 +1,5 @@ | ||
# 0.2.2 (2016-07-08) | ||
* Remove radium dep | ||
# 0.2.1 (2016-07-08) | ||
@@ -2,0 +6,0 @@ |
@@ -31,6 +31,2 @@ 'use strict'; | ||
var _radium = require('radium'); | ||
var _radium2 = _interopRequireDefault(_radium); | ||
/** | ||
@@ -118,5 +114,5 @@ * Creates an instance of a Mapbox Geocoder. See [here](https://www.mapbox.com/mapbox.js/api/v2.2.1/l-mapbox-geocodercontrol/#section-l-mapbox-geocodercontrol) for more details. | ||
function _default(props, context) { | ||
_classCallCheck(this, _default2); | ||
_classCallCheck(this, _default); | ||
_get(Object.getPrototypeOf(_default2.prototype), 'constructor', this).call(this, props, context); | ||
_get(Object.getPrototypeOf(_default.prototype), 'constructor', this).call(this, props, context); | ||
} | ||
@@ -127,3 +123,3 @@ | ||
value: function componentWillMount() { | ||
_get(Object.getPrototypeOf(_default2.prototype), 'componentWillMount', this).call(this); | ||
_get(Object.getPrototypeOf(_default.prototype), 'componentWillMount', this).call(this); | ||
@@ -148,3 +144,3 @@ var geocoder = _leaflet2['default'].mapbox.geocoderControl(this.props.geocoderIdx, this.props.options); | ||
value: function componentDidMount() { | ||
_get(Object.getPrototypeOf(_default2.prototype), 'componentDidMount', this).call(this); | ||
_get(Object.getPrototypeOf(_default.prototype), 'componentDidMount', this).call(this); | ||
} | ||
@@ -154,3 +150,3 @@ }, { | ||
value: function componentWillUnmount() { | ||
_get(Object.getPrototypeOf(_default2.prototype), 'componentWillUnmount', this).call(this); | ||
_get(Object.getPrototypeOf(_default.prototype), 'componentWillUnmount', this).call(this); | ||
var geocoderInput = document.querySelector('.leaflet-control-mapbox-geocoder-form > input'); | ||
@@ -184,4 +180,2 @@ | ||
var _default2 = _default; | ||
_default = (0, _radium2['default'])(_default) || _default; | ||
return _default; | ||
@@ -188,0 +182,0 @@ })(_reactLeaflet.MapComponent); |
@@ -43,6 +43,2 @@ 'use strict'; | ||
var _radium = require('radium'); | ||
var _radium2 = _interopRequireDefault(_radium); | ||
var _reactLeaflet = require('react-leaflet'); | ||
@@ -155,5 +151,5 @@ | ||
function _default(props, context) { | ||
_classCallCheck(this, _default2); | ||
_classCallCheck(this, _default); | ||
_get(Object.getPrototypeOf(_default2.prototype), 'constructor', this).call(this, props, context); | ||
_get(Object.getPrototypeOf(_default.prototype), 'constructor', this).call(this, props, context); | ||
this.state = { | ||
@@ -171,3 +167,3 @@ id: props.id || (0, _lodashUtilityUniqueId2['default'])('map') | ||
this.leafletElement = _leaflet2['default'].mapbox.map(_reactDom2['default'].findDOMNode(this), this.props.tileId, this.props); | ||
_get(Object.getPrototypeOf(_default2.prototype), 'componentDidMount', this).call(this); | ||
_get(Object.getPrototypeOf(_default.prototype), 'componentDidMount', this).call(this); | ||
this.forceUpdate(); | ||
@@ -206,3 +202,3 @@ } | ||
value: function componentWillUnmount() { | ||
_get(Object.getPrototypeOf(_default2.prototype), 'componentWillUnmount', this).call(this); | ||
_get(Object.getPrototypeOf(_default.prototype), 'componentWillUnmount', this).call(this); | ||
this.leafletElement.remove(); | ||
@@ -226,4 +222,2 @@ } | ||
var _default2 = _default; | ||
_default = (0, _radium2['default'])(_default) || _default; | ||
return _default; | ||
@@ -230,0 +224,0 @@ })(_reactLeaflet.MapComponent); |
{ | ||
"name": "react-mapbox-components", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Mapbox library converted to react for use with react-leaflet.", | ||
@@ -24,3 +24,2 @@ "main": "lib/index.js", | ||
"lodash": "^3.10.0", | ||
"radium": "^0.14.3", | ||
"xtend": "^4.0.0" | ||
@@ -27,0 +26,0 @@ }, |
@@ -5,3 +5,2 @@ import assign from 'lodash/object/assign' | ||
import L from 'leaflet' | ||
import Radium from 'radium' | ||
@@ -17,3 +16,2 @@ /** | ||
*/ | ||
@Radium | ||
export default class extends MapComponent { | ||
@@ -20,0 +18,0 @@ |
@@ -15,3 +15,2 @@ 'use strict' | ||
import L from 'leaflet' | ||
import Radium from 'radium' | ||
import { MapComponent } from 'react-leaflet' | ||
@@ -37,3 +36,2 @@ | ||
*/ | ||
@Radium | ||
export default class extends MapComponent { | ||
@@ -40,0 +38,0 @@ |
2
29285
684
- Removedradium@^0.14.3
- Removedacorn@5.7.4(transitive)
- Removedalign-text@0.1.4(transitive)
- Removedalter@0.2.0(transitive)
- Removedamdefine@1.0.1(transitive)
- Removedansi-regex@2.1.1(transitive)
- Removedansi-styles@2.2.1(transitive)
- Removedanymatch@1.3.2(transitive)
- Removedarr-diff@2.0.04.0.0(transitive)
- Removedarr-flatten@1.1.0(transitive)
- Removedarr-union@3.1.0(transitive)
- Removedarray-find@1.0.0(transitive)
- Removedarray-unique@0.2.10.3.2(transitive)
- Removedassign-symbols@1.0.0(transitive)
- Removedast-traverse@0.1.1(transitive)
- Removedast-types@0.8.120.9.6(transitive)
- Removedasync-each@1.0.6(transitive)
- Removedatob@2.1.2(transitive)
- Removedbabel@5.8.38(transitive)
- Removedbabel-core@5.8.38(transitive)
- Removedbabel-plugin-constant-folding@1.0.1(transitive)
- Removedbabel-plugin-dead-code-elimination@1.0.2(transitive)
- Removedbabel-plugin-eval@1.0.1(transitive)
- Removedbabel-plugin-flow-comments@1.0.9(transitive)
- Removedbabel-plugin-inline-environment-variables@1.0.1(transitive)
- Removedbabel-plugin-jscript@1.0.4(transitive)
- Removedbabel-plugin-member-expression-literals@1.0.1(transitive)
- Removedbabel-plugin-property-literals@1.0.1(transitive)
- Removedbabel-plugin-proto-to-assign@1.0.4(transitive)
- Removedbabel-plugin-react-constant-elements@1.0.3(transitive)
- Removedbabel-plugin-react-display-name@1.0.3(transitive)
- Removedbabel-plugin-remove-console@1.0.1(transitive)
- Removedbabel-plugin-remove-debugger@1.0.1(transitive)
- Removedbabel-plugin-runtime@1.0.7(transitive)
- Removedbabel-plugin-undeclared-variables-check@1.0.2(transitive)
- Removedbabel-plugin-undefined-to-void@1.1.6(transitive)
- Removedbabylon@5.8.38(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbase@0.11.2(transitive)
- Removedbinary-extensions@1.13.1(transitive)
- Removedbindings@1.5.0(transitive)
- Removedbluebird@2.11.0(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedbraces@1.8.52.3.2(transitive)
- Removedbreakable@1.0.0(transitive)
- Removedcache-base@1.0.1(transitive)
- Removedcamelcase@1.2.1(transitive)
- Removedcenter-align@0.1.3(transitive)
- Removedchalk@1.1.3(transitive)
- Removedchokidar@1.7.0(transitive)
- Removedclass-utils@0.3.6(transitive)
- Removedcliui@2.1.0(transitive)
- Removedcollection-visit@1.0.0(transitive)
- Removedcommander@2.20.3(transitive)
- Removedcommoner@0.10.8(transitive)
- Removedcomponent-emitter@1.3.1(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedconvert-source-map@1.9.0(transitive)
- Removedcopy-descriptor@0.1.1(transitive)
- Removedcore-js@1.2.7(transitive)
- Removedcore-util-is@1.0.3(transitive)
- Removeddebug@2.6.9(transitive)
- Removeddecamelize@1.2.0(transitive)
- Removeddecode-uri-component@0.2.2(transitive)
- Removeddefine-property@0.2.51.0.02.0.2(transitive)
- Removeddefined@1.0.1(transitive)
- Removeddefs@1.1.1(transitive)
- Removeddetect-indent@3.0.1(transitive)
- Removeddetective@4.7.1(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
- Removedesprima@2.7.33.1.3(transitive)
- Removedesprima-fb@15001.1001.0-dev-harmony-fb(transitive)
- Removedesutils@2.0.3(transitive)
- Removedexenv@1.2.2(transitive)
- Removedexpand-brackets@0.1.52.1.4(transitive)
- Removedexpand-range@1.8.2(transitive)
- Removedextend-shallow@2.0.13.0.2(transitive)
- Removedextglob@0.3.22.0.4(transitive)
- Removedfile-uri-to-path@1.0.0(transitive)
- Removedfilename-regex@2.0.1(transitive)
- Removedfill-range@2.2.44.0.0(transitive)
- Removedfor-in@1.0.2(transitive)
- Removedfor-own@0.1.5(transitive)
- Removedfragment-cache@0.2.1(transitive)
- Removedfs-readdir-recursive@0.1.2(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedfsevents@1.2.13(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedget-stdin@4.0.1(transitive)
- Removedget-value@2.0.6(transitive)
- Removedglob@5.0.157.2.3(transitive)
- Removedglob-base@0.3.0(transitive)
- Removedglob-parent@2.0.0(transitive)
- Removedglobals@6.4.1(transitive)
- Removedgraceful-fs@4.2.11(transitive)
- Removedhas-ansi@2.0.0(transitive)
- Removedhas-value@0.3.11.0.0(transitive)
- Removedhas-values@0.1.41.0.0(transitive)
- Removedhasown@2.0.2(transitive)
- Removedhome-or-tmp@1.0.0(transitive)
- Removediconv-lite@0.4.24(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedinvert-kv@1.0.0(transitive)
- Removedis-accessor-descriptor@1.0.1(transitive)
- Removedis-binary-path@1.0.1(transitive)
- Removedis-buffer@1.1.6(transitive)
- Removedis-core-module@2.16.1(transitive)
- Removedis-data-descriptor@1.0.1(transitive)
- Removedis-descriptor@0.1.71.0.3(transitive)
- Removedis-dotfile@1.0.3(transitive)
- Removedis-equal-shallow@0.1.3(transitive)
- Removedis-extendable@0.1.11.0.1(transitive)
- Removedis-extglob@1.0.0(transitive)
- Removedis-finite@1.1.0(transitive)
- Removedis-glob@2.0.1(transitive)
- Removedis-integer@1.0.7(transitive)
- Removedis-number@2.1.03.0.04.0.0(transitive)
- Removedis-plain-object@2.0.4(transitive)
- Removedis-posix-bracket@0.1.1(transitive)
- Removedis-primitive@2.0.0(transitive)
- Removedis-windows@1.0.2(transitive)
- Removedisarray@1.0.0(transitive)
- Removedisobject@2.1.03.0.1(transitive)
- Removedjs-tokens@1.0.1(transitive)
- Removedjsesc@0.5.0(transitive)
- Removedjson5@0.4.0(transitive)
- Removedkind-of@3.2.24.0.06.0.3(transitive)
- Removedlazy-cache@1.0.4(transitive)
- Removedlcid@1.0.0(transitive)
- Removedleven@1.0.2(transitive)
- Removedlongest@1.0.1(transitive)
- Removedmap-cache@0.2.2(transitive)
- Removedmap-visit@1.0.0(transitive)
- Removedmath-random@1.0.4(transitive)
- Removedmicromatch@2.3.113.1.10(transitive)
- Removedminimatch@2.0.103.1.2(transitive)
- Removedminimist@1.2.8(transitive)
- Removedmixin-deep@1.3.2(transitive)
- Removedmkdirp@0.5.6(transitive)
- Removedms@2.0.0(transitive)
- Removednan@2.22.0(transitive)
- Removednanomatch@1.2.13(transitive)
- Removednormalize-path@2.1.1(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedobject-copy@0.1.0(transitive)
- Removedobject-visit@1.0.1(transitive)
- Removedobject.omit@2.0.1(transitive)
- Removedobject.pick@1.3.0(transitive)
- Removedonce@1.4.0(transitive)
- Removedos-locale@1.4.0(transitive)
- Removedos-tmpdir@1.0.2(transitive)
- Removedoutput-file-sync@1.1.2(transitive)
- Removedparse-glob@3.0.4(transitive)
- Removedpascalcase@0.1.1(transitive)
- Removedpath-exists@1.0.0(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedpath-parse@1.0.7(transitive)
- Removedposix-character-classes@0.1.1(transitive)
- Removedpreserve@0.2.0(transitive)
- Removedprivate@0.1.8(transitive)
- Removedprocess-nextick-args@2.0.1(transitive)
- Removedq@1.5.1(transitive)
- Removedradium@0.14.3(transitive)
- Removedrandomatic@3.1.1(transitive)
- Removedreadable-stream@2.3.8(transitive)
- Removedreaddirp@2.2.1(transitive)
- Removedrecast@0.10.330.11.23(transitive)
- Removedregenerate@1.4.2(transitive)
- Removedregenerator@0.8.40(transitive)
- Removedregex-cache@0.4.4(transitive)
- Removedregex-not@1.0.2(transitive)
- Removedregexpu@1.3.0(transitive)
- Removedregjsgen@0.2.0(transitive)
- Removedregjsparser@0.1.5(transitive)
- Removedremove-trailing-separator@1.1.0(transitive)
- Removedrepeat-element@1.1.4(transitive)
- Removedrepeat-string@1.6.1(transitive)
- Removedrepeating@1.1.3(transitive)
- Removedresolve@1.22.10(transitive)
- Removedresolve-url@0.2.1(transitive)
- Removedret@0.1.15(transitive)
- Removedright-align@0.1.3(transitive)
- Removedrimraf@2.7.1(transitive)
- Removedsafe-buffer@5.1.2(transitive)
- Removedsafe-regex@1.1.0(transitive)
- Removedsafer-buffer@2.1.2(transitive)
- Removedset-value@2.0.1(transitive)
- Removedshebang-regex@1.0.0(transitive)
- Removedsimple-fmt@0.1.0(transitive)
- Removedsimple-is@0.2.0(transitive)
- Removedslash@1.0.0(transitive)
- Removedsnapdragon@0.8.2(transitive)
- Removedsnapdragon-node@2.1.1(transitive)
- Removedsnapdragon-util@3.0.1(transitive)
- Removedsource-map@0.1.320.5.7(transitive)
- Removedsource-map-resolve@0.5.3(transitive)
- Removedsource-map-support@0.2.10(transitive)
- Removedsource-map-url@0.4.1(transitive)
- Removedsplit-string@3.1.0(transitive)
- Removedstable@0.1.8(transitive)
- Removedstatic-extend@0.1.2(transitive)
- Removedstring_decoder@1.1.1(transitive)
- Removedstringmap@0.2.2(transitive)
- Removedstringset@0.2.1(transitive)
- Removedstrip-ansi@3.0.1(transitive)
- Removedsupports-color@2.0.0(transitive)
- Removedsupports-preserve-symlinks-flag@1.0.0(transitive)
- Removedthrough@2.3.8(transitive)
- Removedto-fast-properties@1.0.3(transitive)
- Removedto-object-path@0.3.0(transitive)
- Removedto-regex@3.0.2(transitive)
- Removedto-regex-range@2.1.1(transitive)
- Removedtrim-right@1.0.1(transitive)
- Removedtry-resolve@1.0.1(transitive)
- Removedtryor@0.1.2(transitive)
- Removedunion-value@1.0.1(transitive)
- Removedunset-value@1.0.0(transitive)
- Removedurix@0.1.0(transitive)
- Removeduse@3.1.1(transitive)
- Removeduser-home@1.1.1(transitive)
- Removedutil-deprecate@1.0.2(transitive)
- Removedwindow-size@0.1.4(transitive)
- Removedwordwrap@0.0.2(transitive)
- Removedwrappy@1.0.2(transitive)
- Removedy18n@3.2.2(transitive)
- Removedyargs@3.27.0(transitive)