mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-22 17:48:37 +08:00
really small doc typo fix
This commit is contained in:
@@ -53,14 +53,14 @@ yii = (function ($) {
|
|||||||
changeableSelector: 'select, input, textarea',
|
changeableSelector: 'select, input, textarea',
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return string|undefined the CSRF variable name. Undefined is returned is CSRF validation is not enabled.
|
* @return string|undefined the CSRF variable name. Undefined is returned if CSRF validation is not enabled.
|
||||||
*/
|
*/
|
||||||
getCsrfVar: function () {
|
getCsrfVar: function () {
|
||||||
return $('meta[name=csrf-var]').prop('content');
|
return $('meta[name=csrf-var]').prop('content');
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return string|undefined the CSRF token. Undefined is returned is CSRF validation is not enabled.
|
* @return string|undefined the CSRF token. Undefined is returned if CSRF validation is not enabled.
|
||||||
*/
|
*/
|
||||||
getCsrfToken: function () {
|
getCsrfToken: function () {
|
||||||
return $('meta[name=csrf-token]').prop('content');
|
return $('meta[name=csrf-token]').prop('content');
|
||||||
|
|||||||
Reference in New Issue
Block a user