Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

angular-sprintf.js 490B

123456789101112131415161718
  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. }])