<commit_before>﻿// the Merchello angular module
// TODO this should be able to be isolated to 'merchello.models' and purposely injected where
// we need it
var Merchello = {};
Merchello.Models = {};
(function() {

angular.module('merchello', [
    'umbraco.filters',
	'umbraco.directives',
    'merchello.models',
    'merchello.filters',
    'merchello.directives',
    'merchello.resources',
    'merchello.services',
    'merchello.mocks'
]);
angular.module('merchello.models', []);
angular.module('merchello.filters', []);
angular.module('merchello.directives', []);
angular.module('merchello.resources', []);
angular.module('merchello.services', ['merchello.models', 'merchello.resources']);
angular.module('merchello.mocks', ['merchello.models']);

angular.module('umbraco.packages').requires.push('merchello');
}());<commit_msg>Adds the assertion that the 'umbraco.packages' module injects the Umbraco Angular modules the 'merchello' module requires to be injected<commit_after>﻿// The Merchello.Models namespace
// TODO this should be able to be isolated to 'merchello.models' and purposely injected where
var Merchello = {};
Merchello.Models = {};

// Bootstrap the Merchello angular module
(function() {

angular.module('merchello', [
    'umbraco.filters',
	'umbraco.directives',
    'umbraco.services',
    'merchello.models',
    'merchello.filters',
    'merchello.directives',
    'merchello.resources',
    'merchello.services',
    'merchello.mocks'
]);
angular.module('merchello.models', []);
angular.module('merchello.filters', []);
angular.module('merchello.directives', []);
angular.module('merchello.resources', []);
angular.module('merchello.services', ['merchello.models', 'merchello.resources']);
angular.module('merchello.mocks', ['merchello.models']);

//// Assert our dependencies
if (!('umbraco.filters' in angular.module('umbraco.packages').requires)) {
    angular.module('umbraco.packages').requires.push('umbraco.filters');
}
if (!('umbraco.directives' in angular.module('umbraco.packages').requires)) {
    angular.module('umbraco.packages').requires.push('umbraco.directives');
}
if (!('umbraco.services' in angular.module('umbraco.packages').requires)) {
    angular.module('umbraco.packages').requires.push('umbraco.services');
}
angular.module('umbraco.packages').requires.push('merchello');
}());
{'fraction_non_alphanumeric': 0.1777301927194861, 'fraction_numerical': 0.0, 'mean_word_length': 5.731988472622478, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1218437', 'n_tokens_mistral': 759, 'n_tokens_neox': 742, 'n_words': 128}