"use strict";

var format= require('../string/format');
var forIn = require('mout/object/forIn');

module.exports =  function(that, mask, glue) {
  var out = [];
  forIn(that, function(v, k) {
    out.push( format(mask, k, v) );
  });

  return out.join(glue);
};
@@ -41,22 +41,23 @@
 /string/
-format
+sprintf
 ');%0D%0Avar

use sprintf for object mask