fuse-open/fuse-samples

Unused code in DatePicker

mortoray opened this issue · 1 comments

The below code doesn't appear to be used in the example:

            exports.selectHour = function(args) {
                exports.hoursX.value = args.value%12
                exports.hoursY.value = Math.floor(args.value/12)
            }

            exports.selectMinute = function(args) {
                exports.minutes.value = args.value
            }

https://github.com/fusetools/fuse-samples/blob/master/Samples/Controls/Circular/MainView.ux

PR with removed redundant code and all around cleanup in: #52