Parsing strings for ints both Positive and Negative, Javascript
问题 So I am working through a tag cloud example made in d3. http://www.jasondavies.com/wordcloud/#http%3A%2F%2Fsearch.twitter.com%2Fsearch.json%3Frpp%3D100%26q%3D%7Bword%7D=cloud and am trying to position a Div ontop of each word when it is hovered over, and am basically having a problem because the way I am placing the div is dependent on the transform attribute of the svg word element. This transform attribute is a string I need to parse, but the string includes both positive AND negative