<commit_before>/*globals svgEditor, svgedit, svgCanvas, $*/
/*jslint vars: true*/
/*
 * ext-grid.js
 *
 * Licensed under the Apache License, Version 2
 *
 * Copyright(c) 2010 <NAME>
 * Copyright(c) 2010 <NAME>
 *
 */

// Dependencies:
// 1) units.js
// 2) everything else

svgEditor.addExtension('view_grid', function() { 'use strict';

	var NS = svgedit.NS,
		svgdoc = document.getElementById('svgcanvas').ownerDocument,
		showGrid = false,
		assignAttributes = svgCanvas.assignAttributes,<commit_msg>Allow initial showGrid value to be set by config.js or URL<commit_after>/*globals svgEditor, svgedit, svgCanvas, $*/
/*jslint vars: true*/
/*
 * ext-grid.js
 *
 * Licensed under the Apache License, Version 2
 *
 * Copyright(c) 2010 <NAME>
 * Copyright(c) 2010 <NAME>
 *
 */

// Dependencies:
// 1) units.js
// 2) everything else

svgEditor.addExtension('view_grid', function() { 'use strict';

	var NS = svgedit.NS,
		svgdoc = document.getElementById('svgcanvas').ownerDocument,
		showGrid = svgEditor.curConfig.showGrid || false,
		assignAttributes = svgCanvas.assignAttributes,
{'fraction_non_alphanumeric': 0.14338575393154487, 'fraction_numerical': 0.020351526364477335, 'mean_word_length': 4.252427184466019, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '2108524', 'n_tokens_mistral': 384, 'n_tokens_neox': 351, 'n_words': 90}