iab-vast-parser
Version:
Parses IAB VAST tags into iab-vast-model objects.
14 lines (11 loc) • 318 B
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
var _iabVastModel = require('iab-vast-model');
exports.default = function ($category) {
var category = new _iabVastModel.Category();
category.authority = $category.authority;
category.code = $category._value;
return category;
};
;