fixed doc issues

This commit is contained in:
Fabien Potencier
2016-11-18 10:06:55 -05:00
parent 9c9816874d
commit 629810c91e
+10 -10
View File
@@ -551,18 +551,18 @@ include in your templates:
``interpolateProvider`` service, for instance at the module initialization
time:
```js
angular.module('myApp', []).config(function($interpolateProvider) {
$interpolateProvider.startSymbol('{[').endSymbol(']}');
});
```
..code-block:: javascript
angular.module('myApp', []).config(function($interpolateProvider) {
$interpolateProvider.startSymbol('{[').endSymbol(']}');
});
* For Twig, change the delimiters via the ``tag_variable`` Lexer option:
```php
$env->setLexer(new Twig_Lexer($env, array(
'tag_variable' => array('{[', ']}'),
)));
```
..code-block:: php
$env->setLexer(new Twig_Lexer($env, array(
'tag_variable' => array('{[', ']}'),
)));
.. _callback: http://www.php.net/manual/en/function.is-callable.php