同步操作将从 Discuz/Discuz-Q-uniapp 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
统一规范:使用WEB前端框架AngularJS的Git信息提交规范
每次提交,Commit信息都包括三个部分:header
,body
,footer
。
<type>(<scope>): <subject> // header
<BLANK LINE>
<body>
<BLANK LINE>
<footer>
例如:
fix(release): need to depend on latest rxjs and zone.js
The version in our package.json gets copied to the one we publish, and users need the latest of these.
其中header
是必须的,包括type
、scope
、subject
三个字段,header
的scope
字段是可选的。
用于描述更改内容影响的范围或文件,例如:
docs(changelog): update change log to beta.5
docs(readme.md): update readme
主要是对于提交目的的简短描述。
Body部分主要是针对本次 commit
的详细描述。使用现在时;而且应该说明代码变动的动机,以及和上一次变动行为进行对比。
包括两种情况
1)Breaking changes (不兼容变动)
Breaking changes wiki A change in one part of a software system that potentially causes other components to fail; occurs most often in shared libraries of code used by multiple applications 软件系统的一个部分发生变化,可能导致其他组件发生故障;在多个应用程序使用的共享代码库中经常出现.
需要以 BREAKING CHANGE:
开头,紧跟一个空格或者两个空行,后面是本次变动的描述信息。
2) Referencing issues (引用问题)
本次代码的变动如果也针对某个 issue
的关闭,那么以 "Closes"
关键词开头,如:
Closes #234
fix($compile): couple of unit tests for IE9
Older IEs serialize html uppercased, but IE9 does not...
Would be better to expect case insensitive, unfortunately jasmine does
not allow to user regexps for throw expectations.
Closes #392
Breaks foo.bar api, foo.baz should be used instead
feat($compile): simplify isolate scope bindings
Changed the isolate scope binding options to:
- @attr - attribute binding (including interpolation)
- =model - by-directional model binding
- &expr - expression execution binding
This change simplifies the terminology as well as
number of choices available to the developer. It
also supports local name aliasing from the parent.
BREAKING CHANGE: isolate scope bindings definition has changed and
the inject option for the directive controller injection was removed.
To migrate the code follow the example below:
Before:
scope: {
myAttr: 'attribute',
myBind: 'bind',
myExpression: 'expression',
myEval: 'evaluate',
myAccessor: 'accessor'
}
After:
scope: {
myAttr: '@',
myBind: '@',
myExpression: '&',
// myEval - usually not useful, but in cases where the expression is assignable, you can use '='
myAccessor: '=' // in directive's template change myAccessor() to myAccessor
}
The removed `inject` wasn't generaly useful for directives so there should be no code using it.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。