leo108

Results 5 issues of leo108

有两个场景 - 在controller的init方法中如何终止后续action的执行,比如在init中判断用户是否拥有操作权限,如果没有权限就输出错误信息,并且不执行后续的具体action。 - 我定义了一个类A,继承Yaf_Controller_Abstract,然后所有controller都继承类A,类A提供了一个方法success,如何实现A的子类调用A的success方法后就终止后续的代码执行。 以上两个场景可以在代码后面跟上exit或者die来实现,但这样的话会导致postDispatch和dispatchLoopShutdown两个hook不执行

bug

Here is my code: ``` moment.tz.setDefault('America/Los_Angeles'); var date = moment('2016-11-06'); // the PDT to PST day console.log(date.clone().seconds(36000).format()); // 2016-11-06T09:00:00-08:00 console.log(date.clone().hours(10).format()); // 2016-11-06T10:00:00-08:00 ``` Is that designed as that or a...

bug

[vierbergenlars/php-semver](https://github.com/vierbergenlars/php-semver) has been deprecated and can be replaced by composer/semver. Also add the missing json ext requirement.

My XCode versions is 8.3.3. the output is > *** Checking out MMDB-Swift at "0.2.0" > *** Checking out FlagKit at "ea6885b10ae9bc69ad8e95a911dc0070861119c2" > *** Downloading KeychainAccess.framework binary at "v3.0.1" >...

- [x] Added or updated tests - [x] Documented user facing changes