mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-08 09:07:46 +08:00
docs($interpolateProvider): fixing docs
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* @ngdoc function
|
||||
* @ngdoc object
|
||||
* @name ng.$interpolateProvider
|
||||
* @function
|
||||
*
|
||||
@@ -20,7 +20,8 @@ function $InterpolateProvider() {
|
||||
* @description
|
||||
* Symbol to denote start of expression in the interpolated string. Defaults to `{{`.
|
||||
*
|
||||
* @prop {string=} value new value to set the starting symbol to.
|
||||
* @param {string=} value new value to set the starting symbol to.
|
||||
* @returns {string|self} Returns the symbol when used as getter and self if used as setter.
|
||||
*/
|
||||
this.startSymbol = function(value){
|
||||
if (value) {
|
||||
@@ -38,7 +39,8 @@ function $InterpolateProvider() {
|
||||
* @description
|
||||
* Symbol to denote the end of expression in the interpolated string. Defaults to `}}`.
|
||||
*
|
||||
* @prop {string=} value new value to set the ending symbol to.
|
||||
* @param {string=} value new value to set the ending symbol to.
|
||||
* @returns {string|self} Returns the symbol when used as getter and self if used as setter.
|
||||
*/
|
||||
this.endSymbol = function(value){
|
||||
if (value) {
|
||||
|
||||
Reference in New Issue
Block a user