mirror of
https://github.com/joelwmale/webhook-action.git
synced 2024-08-25 08:08:00 +00:00
19 lines
490 B
JavaScript
19 lines
490 B
JavaScript
|
angular.
|
||
|
module("sprintf", []).
|
||
|
filter("sprintf", function() {
|
||
|
return function() {
|
||
|
return sprintf.apply(null, arguments)
|
||
|
}
|
||
|
}).
|
||
|
filter("fmt", ["$filter", function($filter) {
|
||
|
return $filter("sprintf")
|
||
|
}]).
|
||
|
filter("vsprintf", function() {
|
||
|
return function(format, argv) {
|
||
|
return vsprintf(format, argv)
|
||
|
}
|
||
|
}).
|
||
|
filter("vfmt", ["$filter", function($filter) {
|
||
|
return $filter("vsprintf")
|
||
|
}])
|