Comments (4)
@ericcitaire please tell me what do you think about it
from gwt-d3.
I'm totally ok with renaming asJsArray() to create(). It sounds more GWT-ish naming. ;)
I don't know about the class name, maybe we could also look at it the other way around and rename Array to JsArray. I don't know... Anyway, I agree with you, it needs to be consistent.
IMHO, most of the code in Array, JsArrays and in the array package is not directly related to D3. It's mostly standard Javascript API. Maybe we should think about creating a dedicated project for this stuff. What do you think ?
from gwt-d3.
IMHO, creating a new project for (Js)Array would be overkill. In fact, I was thinking about suggesting to the steering community our Array class as an improvement to GWT code base. But I think before to do it, we should investigate more about the different posts that have been made about GWT built-in JsArray class, such as:
https://groups.google.com/forum/#!searchin/Google-Web-Toolkit-Contributors/gwt$20array$20javascript$20/google-web-toolkit-contributors/u6gjpXzoeNQ/d4gRBhHA_qgJ
But I agree with you: JsArray sounds better than Array since it is pure Javascript (e.g gwtquery adopts the same naming convention, see gwtquery.googlecode.com/svn/trunk/gwtquery-core/javadoc/com/google/gwt/query/client/js/JsObjectArray.html).
By the way, I think we should change the return type of the methods JsArrays.asJsArray() to return gwtd3 Array rather than GWT built in JsArray.
from gwt-d3.
abandonned. We are keeping Array class but provide good javadoc for it. JsArrays class has been removed
from gwt-d3.
Related Issues (20)
- Configure jenkins to use Github Pull Request Builder Plugin HOT 3
- Still under development? HOT 2
- D3.event: Exposing sourceEvent & timeStamp HOT 2
- Make it gwt-2.7 compatible
- [SVG Shapes] Implement Area.radial
- Demos to be created
- Upgrade to d3.js 3.5.14
- Implement missing Voronoi API : triangles() and links()
- ForEachCallback should type the array with a generic type
- Expose d3.event.mode for brush API
- Is it possible to use gwt-d3 for Java desktop applications? HOT 5
- junit dependency scope issue HOT 1
- classed(String, DatumFunction<Boolean>) does not work in GWT 2.8 HOT 2
- Issue running the GWT-D3-DEMO HOT 1
- [Selections] add an overload of append() function which takes a DatumFunction as parameter
- Problem to get BoundingBox working HOT 2
- Compile Error with GWT 2.8 HOT 6
- I'm creating a collapsible radial tree and facing issues, links are colapsing but nodes remains at same positions can you me with that.
- Is it possible to use gwt-d3 for Spring applications? HOT 2
- Migrate to GWT 2.10.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gwt-d3.