83 +import Ubuntu.Components 0.1 Seem not to be used
Just because I like small functions, I'd move the functionality of getting the domain from a url into it's own function (UserAgent.qml). Easier to read, easier to test, easier to (maybe) reuse.
« Back to merge proposal
83 +import Ubuntu.Components 0.1
Seem not to be used
Just because I like small functions, I'd move the functionality of getting the domain from a url into it's own function (UserAgent.qml). Easier to read, easier to test, easier to (maybe) reuse.