<commit_before>intersect.js
============

Some thin wrappers around Spine.js + Angular.js


Concept
-------

This is a simple library which wraps the Angular module system to provide
better injection behavior. Instead of the standard Angular way, it allows you
to define a service like this:

```javascript
intersect.module('example')
	.service('example.services.one', ['x', 'y', 'z'], function (x, y, z) {});

```

This might seem like a little change, but it causes Angular to seem more
conventional in terms of CommonJS as well as provides the nice benefit that you
don't need to keep a function inside of an array (which is a bit peculiar).
This is especially useful in CoffeeScript, due to the following syntax being
possile:

```coffee
intersect.module 'example'
	.service 'example.services.one', [
		'x'
		'y'
		'z'

	], (x, y, z) ->

```

This library aims to maintain 100% backwards compatibility with Angular. A
benefit of this goal is that (if you would like to), you can call the following
function in order to patch intersect into angular itself (although this is not
recommended) if necessary:

```javascript
intersect.conflict();

```

Intersect.JS will also respond properly to being used in an AMD, CommonJS, or
NodeJS environment. This means that you wont have any pesky global `interface`
variable sitting around if you are using a module loader.


TODO
----

On top of this, a few new goodies are planned. The final interface is expected
to look like so in JavaScript:

```javascript
// This service becomes: 'example.service.one'
intersect.module('example')
	.service('one', [
		'example.service.two',
		'some.service.somewhere',
		'some.controller.elsewhere'

	], function ($) {
		console.log($.example.service.two);
		console.log($.some.service.somewhere);
		console.log($.some.controller.elsewhere);
	});

```

or in CoffeeScript:

```coffee
# This service becomes: 'example.service.one'
intersect.module 'example'
    .service 'one', [
        'example.service.two'
        'some.service.somewhere'
        'some.controller.elsewhere'
        
    ], () ->
        console.log $.example.service.two
        console.log $.some.service.somewhere
        console.log $.some.controller.elsewhere

```<commit_msg>I'm a bit tired.<commit_after>intersect.js
============

Some thin wrappers around Spine.js + Angular.js


Concept
-------

This is a simple library which wraps the Angular module system to provide
better injection behavior. Instead of the standard Angular way, it allows you
to define a service like this:

```javascript
intersect.module('example')
	.service('example.services.one', ['x', 'y', 'z'], function (x, y, z) {});

```

This might seem like a little change, but it causes Angular to seem more
conventional in terms of CommonJS as well as provides the nice benefit that you
don't need to keep a function inside of an array (which is a bit peculiar).
This is especially useful in CoffeeScript, due to the following syntax being
possile:

```coffee
intersect.module 'example'
	.service 'example.services.one', [
		'x'
		'y'
		'z'

	], (x, y, z) ->

```

This library aims to maintain 100% backwards compatibility with Angular. A
benefit of this goal is that (if you would like to), you can call the following
function in order to patch intersect into angular itself (although this is not
recommended) if necessary:

```javascript
intersect.conflict();

```

Intersect.JS will also respond properly to being used in an AMD, CommonJS, or
NodeJS environment. This means that you wont have any pesky global `interface`
variable sitting around if you are using a module loader.


TODO
----

On top of this, a few new goodies are planned. The final interface is expected
to look like so in JavaScript:

```javascript
// This service becomes: 'example.service.one'
intersect.module('example')
	.service('one', [
		'example.service.two',
		'some.service.somewhere',
		'some.controller.elsewhere'

	], function ($) {
		console.log($.example.service.two);
		console.log($.some.service.somewhere);
		console.log($.some.controller.elsewhere);
	});

```

or in CoffeeScript:

```coffee
# This service becomes: 'example.service.one'
intersect.module 'example'
    .service 'one', [
        'example.service.two'
        'some.service.somewhere'
        'some.controller.elsewhere'
        
    ], ($) ->
        console.log $.example.service.two
        console.log $.some.service.somewhere
        console.log $.some.controller.elsewhere

```
{'fraction_non_alphanumeric': 0.11700223713646532, 'fraction_numerical': 0.0013422818791946308, 'mean_word_length': 3.7716115261472787, 'pattern_counts': {'":': 0, '<': 3, '<?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': '998402', 'n_tokens_mistral': 1351, 'n_tokens_neox': 1267, 'n_words': 509}