Change reference to export object to be "this" instead of local variable to allow overriding in other modules.
Example:

define(['text','underscore'], function(text, _) {
    'use strict';
    return _.extend({}, text, { parseName: function(name) {
        return text.parseName('../partials/' + name + '.html');
    }});
});

Before, the parseName function called would always be the original one.
Merge remote-tracking branch 'remotes/mvitorino/master'

Conflicts:
	text.js