walnut_launchpad.html/js/lib/ez-file-tree/ez-object2array.min.js

2 lines
206 B
JavaScript
Raw Normal View History

2017-09-22 22:17:42 +00:00
angular.module("ez.object2array",[]).filter("object2array",[function(){return function(a){if("[object Array]"===Object.prototype.toString.call(a))return a;var b=[];for(var c in a)b.push(a[c]);return b}}]);