<commit_before>var app = angular.module('app', ['angularFileUpload', 'ngAnimate', 'ngSanitize']);

app.directive('contenteditable', function () {
    return {
        restrict: 'A', // only activate on element attribute
        require: '?ngModel', // get a hold of NgModelController
        link: function (scope, element, attrs, ngModel) {
            if (!ngModel) return; // do nothing if no ng-model<commit_msg>puts the BaseURL into root scope<commit_after>var app = angular.module('app', ['angularFileUpload', 'ngAnimate', 'ngSanitize']);

app.controller('rootScopeDefinitionController', ['$rootScope', function ($rootScope) {
    if (baseURL) {
        $rootScope.baseURL = baseURL;
    }

    else {
        $rootScope.baseURL = 'http://sailr.co';
    }
}]);

app.directive('contenteditable', function () {
    return {
        restrict: 'A', // only activate on element attribute
        require: '?ngModel', // get a hold of NgModelController
        link: function (scope, element, attrs, ngModel) {
            if (!ngModel) return; // do nothing if no ng-model
{'fraction_non_alphanumeric': 0.14165890027958994, 'fraction_numerical': 0.0, 'mean_word_length': 3.2450592885375493, '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': '908271', 'n_tokens_mistral': 308, 'n_tokens_neox': 312, 'n_words': 89}