Code Monkey home page Code Monkey logo

Comments (7)

hustcc avatar hustcc commented on May 15, 2024 1

stackBar-label --> stack-bar-label

from g2plot.

visiky avatar visiky commented on May 15, 2024

还有label那一系列也是,如出现stackBar-label, spiderLabel, areaLabel这系列?具体规则也定一下?大概为:

  • 描述-label
  • 其中描述使用驼峰

例如:

  • stackBar-label
  • area-label
  • spider-label

有其他建议的话,再修改

from g2plot.

lessmost avatar lessmost commented on May 15, 2024

这样呢:1)普通文件名驼峰,如getColorDef,2)class类文件(一个文件一个class)使用class名字,如class AreaLayer文件名就使用AreaLayer

from g2plot.

hustcc avatar hustcc commented on May 15, 2024

@zqlu 就是两种风格了,是使用驼峰的方式,还是使用 - 的方式~确定一种就 ok @paleface001

from g2plot.

paleface001 avatar paleface001 commented on May 15, 2024

-的文件名感觉可读性更强一点

from g2plot.

visiky avatar visiky commented on May 15, 2024

stackBar-label --> stack-bar-label

这样子就有另外一个问题了 组件文件名都要统一 -分割?而不是驼峰?
不过现在,组件文件名确实 -分割 👌

from g2plot.

hustcc avatar hustcc commented on May 15, 2024

@paleface001 @Me-Momo 如果确定了,就逐步改掉了,体力活,不难改~

from g2plot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.