main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
490 bytes
|
Line | |
---|
1 | angular.
|
---|
2 | module("sprintf", []).
|
---|
3 | filter("sprintf", function() {
|
---|
4 | return function() {
|
---|
5 | return sprintf.apply(null, arguments)
|
---|
6 | }
|
---|
7 | }).
|
---|
8 | filter("fmt", ["$filter", function($filter) {
|
---|
9 | return $filter("sprintf")
|
---|
10 | }]).
|
---|
11 | filter("vsprintf", function() {
|
---|
12 | return function(format, argv) {
|
---|
13 | return vsprintf(format, argv)
|
---|
14 | }
|
---|
15 | }).
|
---|
16 | filter("vfmt", ["$filter", function($filter) {
|
---|
17 | return $filter("vsprintf")
|
---|
18 | }])
|
---|
Note:
See
TracBrowser
for help on using the repository browser.