> 83 +import Ubuntu.Components 0.1
> Seem not to be used
It is required, because I’m using units.gu(…).
> 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.
> 83 +import Ubuntu.Components 0.1
> Seem not to be used
It is required, because I’m using units.gu(…).
> 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.
Good idea, will do.