Sha256: e0dcc9b5602f16fa6729bd07da399aafa54061e95d19aa1b75bf69176ce71368
Contents?: true
Size: 378 Bytes
Versions: 12
Compression:
Stored size: 378 Bytes
Contents
'use strict'; angular.module('apiDocoApp').directive('jqJsonViewer', [function() { return { restrict: 'A', scope: { data: "=" }, link: function(scope, elem, attrs) { $(elem).jsonViewer(scope.data, { withQuotes: true }); // Collapse the second level $(elem).find('ul.json-dict > li > ol > li > a.json-toggle').click(); } }; }]);
Version data entries
12 entries across 12 versions & 1 rubygems