1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-11 10:22:53 +00:00
Files
mywebsite/mongoui/mongoui-master/node_modules/derby-ui-boot/dropdown/option.js
2015-06-25 16:28:41 -05:00

7 lines
174 B
JavaScript

exports.init = function(model) {
var value = model.get('value')
, text = model.get('content')
value = (value === void 0) ? text : value
model.set('value', value)
}