<commit_before># bender

Responsive design tester

## Installation

Install bower:

`npm install -g bower`

Install dependencies:

`bower install`

Create `config.js`

```javascript
var benderConfig = {
	// Option 1: Define sitemap
	sitemap: {
		'url': 'title',
		'another/url': 'another title'
	},
	// Option 2: Load sitemap from file (set `sitemapUrl`, `sitemapBaseUrl`, `baseUrl`)
	sitemapUrl: 'http://example.com/sitemap.xml',
	sitemapBaseUrl: 'http://example.com',
	baseUrl: '',
	// Optional
  cache: false, // Cache busting.
  cacheQueryParam: 'ts', // Name of query string parameter used for cache busting.
  debug: false,
  firstUrl: '', // Initial URL to load. Defaults to first URL in sitemap,
  // Required
	screens: [
		'320-480',
		'768-1024',
		'1024-768',
		'1440-900',
		'1920-1080'
	]
};
```

## Usage

Open `index.html` in web browser

## Building from source

Install grunt and other dependencies:

`npm install -g grunt-cli`

`npm install`

Run grunt to build:

`grunt`<commit_msg>Clean up readme<commit_after># bender

Responsive design tester

## Installation

Install bower:

`npm install -g bower`

Install dependencies:

`bower install`

Create `config.js`

```javascript
var benderConfig = {
  // Option 1: Define sitemap
  sitemap: {
    'url': 'title',
    'another/url': 'another title'
  },
  // Option 2: Load sitemap from file (set `sitemapUrl`, `sitemapBaseUrl`, `baseUrl`)
  sitemapUrl: 'http://example.com/sitemap.xml',
  sitemapBaseUrl: 'http://example.com',
  baseUrl: '',
  // Optional
  cache: false, // Cache busting.
  cacheQueryParam: 'ts', // Name of query string parameter used for cache busting.
  debug: false,
  firstUrl: '', // Initial URL to load. Defaults to first URL in sitemap,
  // Required
  screens: [
    '320-480',
    '768-1024',
    '1024-768',
    '1440-900',
    '1920-1080'
  ]
};
```

## Usage

Open `index.html` in web browser

## Building from source

Install grunt and other dependencies:

`npm install -g grunt-cli`

`npm install`

Run grunt to build:

`grunt`
{'fraction_non_alphanumeric': 0.14299802761341224, 'fraction_numerical': 0.03648915187376726, 'mean_word_length': 3.4988913525498893, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '1130153', 'n_tokens_mistral': 800, 'n_tokens_neox': 723, 'n_words': 215}