<commit_before>import { Class, expose, isArray, isObject, isNone } from 'orbit/lib/objects';
import { eq } from 'orbit/lib/eq';
import { assert } from 'orbit/lib/assert';
import Evented from 'orbit/evented';
import SchemaUtils from 'orbit-firebase/lib/schema-utils';
import Operation from 'orbit/operation';
import FirebaseClient from 'orbit-firebase/firebase-client';
import Orbit from 'orbit/main';
import { map } from 'orbit-firebase/lib/array-utils';
import RecordSubscription from './subscriptions/record-subscription';
import AttributeSubscription from './subscriptions/attribute-subscription';
import HasManySubscription from './subscriptions/has-many-subscription';
import HasOneSubscription from './subscriptions/has-one-subscription';
import { buildOptions } from './subscriptions/options';
import { deepMerge } from 'orbit-firebase/lib/object-utils';
import InvocationsTracker from 'orbit-firebase/mixins/invocations-tracker';

export default Class.extend({
	init: function(firebaseRef, schema, serializer){
		Evented.extend(this);
		InvocationsTracker.extend(this);
<commit_msg>Expose firebaseListener globally<commit_after>import { Class, expose, isArray, isObject, isNone } from 'orbit/lib/objects';
import { eq } from 'orbit/lib/eq';
import { assert } from 'orbit/lib/assert';
import Evented from 'orbit/evented';
import SchemaUtils from 'orbit-firebase/lib/schema-utils';
import Operation from 'orbit/operation';
import FirebaseClient from 'orbit-firebase/firebase-client';
import Orbit from 'orbit/main';
import { map } from 'orbit-firebase/lib/array-utils';
import RecordSubscription from './subscriptions/record-subscription';
import AttributeSubscription from './subscriptions/attribute-subscription';
import HasManySubscription from './subscriptions/has-many-subscription';
import HasOneSubscription from './subscriptions/has-one-subscription';
import { buildOptions } from './subscriptions/options';
import { deepMerge } from 'orbit-firebase/lib/object-utils';
import InvocationsTracker from 'orbit-firebase/mixins/invocations-tracker';

export default Class.extend({
	init: function(firebaseRef, schema, serializer){
		Evented.extend(this);
		InvocationsTracker.extend(this);
		window.firebaseListener = this;

{'fraction_non_alphanumeric': 0.12046574115539632, 'fraction_numerical': 0.0, 'mean_word_length': 6.372937293729373, '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': '5436595', 'n_tokens_mistral': 636, 'n_tokens_neox': 617, 'n_words': 158}