Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
W
wiki-java
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • 老徐
  • wiki-java
  • Wiki
  • shuidi js develope

Last edited by 梅俊辉 Jul 08, 2016
Page history
This is an old version of this page. You can view the most recent version or browse the history.

shuidi js develope

水滴项目js开发规范
介绍: js/common/ 目录下, common.js封装了js常用的方法,common.string.js扩展了string对象,提供了如去空格,格式化等方法,还有时间的格式化函数
common文件夹下的其他js文件均不可再用

通常一个页面对应一个js文件,js文件中包含了关于此页面的所有js代码,js代码需要按照模板规定来开发,模板如下:

temp.js文件
1
2

Clone repository
  • git configuration and simple use
  • Home
  • java code specification
  • maven environment configuration
  • shuidi js develope
  • ucs_project environment configuration