function objectToArray (obj) {
    var res = [], val, data
    for (var key in obj) {
        val = obj[key]
        data = utils.typeOf(val) === 'Object'
            ? val
            : { $value: val }
        def(data, '$key', key)
        res.push(data)
    }
    return res
}
/**
 *  Convert an Object to a v-repeat friendly Array
 */
Convert an Object to a v-repeat friendly Array
Convert an Object to a v - repeat friendly Array
function objectToArray (obj) {
    var res = [], val, data
    for (var key in obj) {
        val = obj[key]
        data = utils.typeOf(val) === 'Object'
            ? val
            : { $value: val }
        def(data, '$key', key)
        res.push(data)
    }
    return res
}
function objectToArray ( obj ) { var res = [ ] , val , data for ( var key in obj ) { val = obj [ key ] data = utils . typeOf ( val ) === 'Object' ? val : { $value : val } def ( data , '$key' , key ) res . push ( data ) } return res }
Convert an Object to a v-repeat friendly Array
Convert an Object to a v - repeat friendly Array