<commit_before>requirejs.config({
    paths: {
        "jquery": "3rdparty/require-jquery",
	"prefixfree": "3rdparty/prefixfree.min",
        "modernizr": "3rdparty/modernizr-2.0.6",
	"jquery.anythingslider": "3rdparty/jquery.anythingslider",
        "jquery.fancybox": "3rdparty/jquery.fancybox-1.3.4",
        "jquery.form": "lib/jquery.form/jquery.form",
        "jquery.tools": "3rdparty/jquery.tools.min"
    },
    shim: {
        "jquery.form": {
            deps: ["jquery"],
            exports: "jQuery.fn.ajaxSubmit"
        },

        "jquery.anythingslider": {
            deps: ["jquery"],
            exports: "jQuery.fn.anythingSlider"
        },
        "jquery.autoSuggests": {
            deps: ["jquery"],
            exports: "jQuery.fn.autoSuggest"
        },
        "jquery.placeholder": {
            deps: ["jquery"],
            exports: "jQuery.fn.placeholder"
        },
        "jquery-ext": {
            deps: ["jquery"],
            exports: "jQuery.fn.simplePlaceholder"
        }
    }
});


define([
    'require',
    'prefixfree',
    'modernizr',
    'core/init',
    'core/parser',
    'core/store',
    'patterns',
    'patterns/autosubmit',
    'patterns/checklist',
    'patterns/switch',
    'patterns/fancybox',
    'patterns/floatingpanel',
    'patterns/fullcalendar',
    'patterns/old_modal',
    'patterns/selfhealing',
    'patterns/setclass',
    'patterns/toggle',
    'patterns/tooltip',
    'patterns/focus',
    'patterns/checkedflag'
], function(require) {
    var mapal = require('./core/init');
    mapal.registerWidthClass("narrow", 0, 780);
    mapal.registerWidthClass("medium", 0, 1109);
    mapal.registerWidthClass("wide", 1110, null);

    mapal.store = require('./core/store');

    // register our patterns
    // rethink naming once all patterns are migrated to this style
    mapal.passivePatterns.autosubmit = require('./patterns/autosubmit');
    mapal.passivePatterns.checklist = require('./patterns/checklist');
    mapal.passivePatterns.switcher = require('./patterns/switch');
    mapal.passivePatterns.fullcalendar = require('./patterns/fullcalendar');
    mapal.passivePatterns.toggle = require('./patterns/toggle');<commit_msg>Declare jquery dependency for main.js<commit_after>requirejs.config({
    paths: {
        "jquery": "3rdparty/require-jquery",
	"prefixfree": "3rdparty/prefixfree.min",
        "modernizr": "3rdparty/modernizr-2.0.6",
	"jquery.anythingslider": "3rdparty/jquery.anythingslider",
        "jquery.fancybox": "3rdparty/jquery.fancybox-1.3.4",
        "jquery.form": "lib/jquery.form/jquery.form",
        "jquery.tools": "3rdparty/jquery.tools.min"
    },
    shim: {
        "jquery.form": {
            deps: ["jquery"],
            exports: "jQuery.fn.ajaxSubmit"
        },

        "jquery.anythingslider": {
            deps: ["jquery"],
            exports: "jQuery.fn.anythingSlider"
        },
        "jquery.autoSuggests": {
            deps: ["jquery"],
            exports: "jQuery.fn.autoSuggest"
        },
        "jquery.placeholder": {
            deps: ["jquery"],
            exports: "jQuery.fn.placeholder"
        },
        "jquery-ext": {
            deps: ["jquery"],
            exports: "jQuery.fn.simplePlaceholder"
        }
    }
});


define([
    'require',
    'jquery',
    'prefixfree',
    'modernizr',
    'core/init',
    'core/parser',
    'core/store',
    'patterns',
    'patterns/autosubmit',
    'patterns/checklist',
    'patterns/switch',
    'patterns/fancybox',
    'patterns/floatingpanel',
    'patterns/fullcalendar',
    'patterns/old_modal',
    'patterns/selfhealing',
    'patterns/setclass',
    'patterns/toggle',
    'patterns/tooltip',
    'patterns/focus',
    'patterns/checkedflag'
], function(require, $) {
    var mapal = require('./core/init');
    mapal.registerWidthClass("narrow", 0, 780);
    mapal.registerWidthClass("medium", 0, 1109);
    mapal.registerWidthClass("wide", 1110, null);

    mapal.store = require('./core/store');

    // register our patterns
    // rethink naming once all patterns are migrated to this style
    mapal.passivePatterns.autosubmit = require('./patterns/autosubmit');
    mapal.passivePatterns.checklist = require('./patterns/checklist');
    mapal.passivePatterns.switcher = require('./patterns/switch');
    mapal.passivePatterns.fullcalendar = require('./patterns/fullcalendar');
    mapal.passivePatterns.toggle = require('./patterns/toggle');
{'fraction_non_alphanumeric': 0.1611672278338945, 'fraction_numerical': 0.01122334455667789, 'mean_word_length': 2.5935483870967744, 'pattern_counts': {'":': 24, '<': 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': '2912281', 'n_tokens_mistral': 1474, 'n_tokens_neox': 1424, 'n_words': 206}