blob: 1fa8af9826f41ef471faf32440e34a39f4dff032 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/*
* Copyright (c) 2012-2014 Kaarle Ritvanen
* See LICENSE file for license details
*/
define(["acf2/type", "acf2/widget/inline"], function(type, Base) {
var Class = Base.extend({
widget: function(meta) {
return type.isTreeNode(meta) ?
Base : this.super(Class, "widget", meta);
}
});
return Class;
});
|