UNPKG

nx-event-bus

Version:

Simple JavaScript Event Bus Implementation

466 lines 21 kB
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="ChangeListManager"> <list default="true" id="a5d0dadd-9dfd-4940-97f2-280ac7313cd0" name="Default Changelist" comment=""> <change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" /> </list> <ignored path="$PROJECT_DIR$/.tmp/" /> <ignored path="$PROJECT_DIR$/temp/" /> <ignored path="$PROJECT_DIR$/tmp/" /> <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> <option name="SHOW_DIALOG" value="false" /> <option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" /> <option name="LAST_RESOLUTION" value="IGNORE" /> </component> <component name="FUSProjectUsageTrigger"> <session id="1774843690"> <usages-collector id="statistics.lifecycle.project"> <counts> <entry key="project.open.time.6" value="1" /> <entry key="project.opened" value="1" /> </counts> </usages-collector> <usages-collector id="statistics.file.extensions.open"> <counts> <entry key="babelrc" value="1" /> <entry key="html" value="2" /> <entry key="js" value="7" /> <entry key="json" value="2" /> <entry key="md" value="3" /> <entry key="yml" value="1" /> </counts> </usages-collector> <usages-collector id="statistics.file.types.open"> <counts> <entry key="HTML" value="2" /> <entry key="JSON" value="3" /> <entry key="JavaScript" value="6" /> <entry key="Markdown" value="3" /> <entry key="UML" value="1" /> <entry key="YAML" value="1" /> </counts> </usages-collector> <usages-collector id="statistics.file.extensions.edit"> <counts> <entry key="js" value="1245" /> <entry key="json" value="150" /> <entry key="md" value="2" /> <entry key="yml" value="48" /> </counts> </usages-collector> <usages-collector id="statistics.file.types.edit"> <counts> <entry key="JSON" value="150" /> <entry key="JavaScript" value="1245" /> <entry key="Markdown" value="2" /> <entry key="YAML" value="48" /> </counts> </usages-collector> </session> </component> <component name="FileEditorManager"> <leaf> <file pinned="false" current-in-tab="false"> <entry file="file://$PROJECT_DIR$/.travis.yml"> <provider selected="true" editor-type-id="text-editor"> <state relative-caret-position="450"> <caret line="30" column="32" selection-start-line="30" selection-start-column="23" selection-end-line="30" selection-end-column="32" /> </state> </provider> </entry> </file> <file pinned="false" current-in-tab="true"> <entry file="file://$PROJECT_DIR$/package.json"> <provider selected="true" editor-type-id="text-editor"> <state relative-caret-position="45"> <caret line="3" column="19" selection-start-line="3" selection-start-column="19" selection-end-line="3" selection-end-column="19" /> <folding> <element signature="n#!!block;n#repository#0;n#!!top" /> <element signature="n#!!block;n#bugs#0;n#!!top" /> </folding> </state> </provider> </entry> </file> </leaf> </component> <component name="Git.Settings"> <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" /> </component> <component name="IdeDocumentHistory"> <option name="CHANGED_PATHS"> <list> <option value="$PROJECT_DIR$/index.js" /> <option value="$PROJECT_DIR$/lib/nx-event-bus.js" /> <option value="$PROJECT_DIR$/README.md" /> <option value="$PROJECT_DIR$/tests/nx-event-bus.test.js" /> <option value="$PROJECT_DIR$/.travis.yml" /> <option value="$PROJECT_DIR$/package.json" /> </list> </option> </component> <component name="JsBowerSettings"> <node-interpreter value="project" /> <bower-package value="" /> <bower.json value="$PROJECT_DIR$/bower.json" /> </component> <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" /> <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER"> <package-json value="$PROJECT_DIR$/package.json" /> </component> <component name="JsFlowSettings"> <service-enabled>true</service-enabled> <exe-path /> <other-services-enabled>true</other-services-enabled> <auto-save>true</auto-save> </component> <component name="JsGulpfileManager"> <detection-done>true</detection-done> <sorting>DEFINITION_ORDER</sorting> </component> <component name="NodeModulesDirectoryManager"> <handled-path value="$PROJECT_DIR$/node_modules" /> </component> <component name="NodePackageJsonFileManager"> <packageJsonPaths> <path value="$PROJECT_DIR$/package.json" /> </packageJsonPaths> </component> <component name="ProjectFrameBounds" extendedState="6"> <option name="width" value="1920" /> <option name="height" value="1035" /> </component> <component name="ProjectInspectionProfilesVisibleTreeState"> <entry key="Project Default"> <profile-state> <expanded-state> <State /> </expanded-state> <selected-state> <State> <id>Angular</id> </State> </selected-state> </profile-state> </entry> </component> <component name="ProjectView"> <navigator proportions="" version="1"> <foldersAlwaysOnTop value="true" /> </navigator> <panes> <pane id="Scope" /> <pane id="ProjectPane"> <subPane> <expand> <path> <item name="nx-event-bus" type="b2602c69:ProjectViewProjectNode" /> <item name="nx-event-bus" type="462c0819:PsiDirectoryNode" /> </path> <path> <item name="nx-event-bus" type="b2602c69:ProjectViewProjectNode" /> <item name="nx-event-bus" type="462c0819:PsiDirectoryNode" /> <item name="lib" type="462c0819:PsiDirectoryNode" /> </path> </expand> <select /> </subPane> </pane> </panes> </component> <component name="PropertiesComponent"> <property name="WebServerToolWindowFactoryState" value="false" /> <property name="last_opened_file_path" value="$PROJECT_DIR$" /> <property name="node.js.detected.package.eslint" value="true" /> <property name="node.js.detected.package.jscs" value="true" /> <property name="node.js.detected.package.standard" value="true" /> <property name="node.js.path.for.package.eslint" value="project" /> <property name="node.js.path.for.package.jscs" value="project" /> <property name="node.js.path.for.package.standard" value="project" /> <property name="node.js.selected.package.eslint" value="" /> <property name="node.js.selected.package.jscs" value="" /> <property name="node.js.selected.package.standard" value="" /> <property name="nodejs.jest.jest_package" value="$PROJECT_DIR$/node_modules/jest" /> <property name="nodejs_package_manager_path" value="yarn" /> <property name="settings.editor.selected.configurable" value="preferences.keymap" /> </component> <component name="RunDashboard"> <option name="ruleStates"> <list> <RuleState> <option name="name" value="ConfigurationTypeDashboardGroupingRule" /> </RuleState> <RuleState> <option name="name" value="StatusDashboardGroupingRule" /> </RuleState> </list> </option> </component> <component name="RunManager" selected="npm.docs:md"> <configuration name="#EventBus.should emit events to listeners that are registered once" type="JavaScriptTestRunnerJest" factoryName="Jest" temporary="true" nameIsGenerated="true"> <node-interpreter value="project" /> <node-options value="" /> <working-dir value="$PROJECT_DIR$" /> <envs /> <scope-kind value="TEST" /> <test-file value="$PROJECT_DIR$/tests/nx-event-bus.test.js" /> <test-names> <test-name value="#EventBus" /> <test-name value="should emit events to listeners that are registered once" /> </test-names> <method v="2" /> </configuration> <configuration name="#EventBus.should throw error when a non BusEvent is given to emitEvent" type="JavaScriptTestRunnerJest" factoryName="Jest" temporary="true" nameIsGenerated="true"> <node-interpreter value="project" /> <node-options value="" /> <working-dir value="$PROJECT_DIR$" /> <envs /> <scope-kind value="TEST" /> <test-file value="$PROJECT_DIR$/tests/nx-event-bus.test.js" /> <test-names> <test-name value="#EventBus" /> <test-name value="should throw error when a non BusEvent is given to emitEvent" /> </test-names> <method v="2" /> </configuration> <configuration name="nx-event-bus.test.js" type="JavaScriptTestRunnerJest" factoryName="Jest" nameIsGenerated="true"> <node-interpreter value="project" /> <node-options value="" /> <working-dir value="$PROJECT_DIR$" /> <envs /> <scope-kind value="TEST_FILE" /> <test-file value="$PROJECT_DIR$/tests/nx-event-bus.test.js" /> <method v="2" /> </configuration> <configuration name="docs" type="js.build_tools.npm" factoryName="npm" temporary="true" nameIsGenerated="true"> <package-json value="$PROJECT_DIR$/package.json" /> <command value="run" /> <scripts> <script value="docs" /> </scripts> <node-interpreter value="project" /> <envs /> <method v="2" /> </configuration> <configuration name="docs:md" type="js.build_tools.npm" factoryName="npm" temporary="true" nameIsGenerated="true"> <package-json value="$PROJECT_DIR$/package.json" /> <command value="run" /> <scripts> <script value="docs:md" /> </scripts> <node-interpreter value="project" /> <envs /> <method v="2" /> </configuration> <list> <item itemvalue="Jest.nx-event-bus.test.js" /> <item itemvalue="Jest.#EventBus.should emit events to listeners that are registered once" /> <item itemvalue="Jest.#EventBus.should throw error when a non BusEvent is given to emitEvent" /> <item itemvalue="npm.docs" /> <item itemvalue="npm.docs:md" /> </list> <recent_temporary> <list> <item itemvalue="npm.docs:md" /> <item itemvalue="npm.docs" /> <item itemvalue="Jest.#EventBus.should throw error when a non BusEvent is given to emitEvent" /> <item itemvalue="Jest.#EventBus.should emit events to listeners that are registered once" /> </list> </recent_temporary> </component> <component name="SvnConfiguration"> <configuration /> </component> <component name="TaskManager"> <task active="true" id="Default" summary="Default task"> <changelist id="a5d0dadd-9dfd-4940-97f2-280ac7313cd0" name="Default Changelist" comment="" /> <created>1534593316288</created> <option name="number" value="Default" /> <option name="presentableId" value="Default" /> <updated>1534593316288</updated> <workItem from="1534593320413" duration="16877000" /> </task> <servers /> </component> <component name="TestHistory"> <history-entry file="nx-event-bus_test_js - 2018.08.18 at 17h 03m 17s.xml"> <configuration name="nx-event-bus.test.js" configurationId="JavaScriptTestRunnerJest" /> </history-entry> <history-entry file="nx-event-bus_test_js - 2018.08.18 at 17h 04m 40s.xml"> <configuration name="nx-event-bus.test.js" configurationId="JavaScriptTestRunnerJest" /> </history-entry> <history-entry file="nx-event-bus_test_js - 2018.08.18 at 17h 05m 36s.xml"> <configuration name="nx-event-bus.test.js" configurationId="JavaScriptTestRunnerJest" /> </history-entry> <history-entry file="nx-event-bus_test_js - 2018.08.18 at 17h 06m 14s.xml"> <configuration name="nx-event-bus.test.js" configurationId="JavaScriptTestRunnerJest" /> </history-entry> <history-entry file="nx-event-bus_test_js - 2018.08.18 at 17h 06m 40s.xml"> <configuration name="nx-event-bus.test.js" configurationId="JavaScriptTestRunnerJest" /> </history-entry> <history-entry file="#EventBus_should_throw_error_when_a_non_BusEvent_is_given_to_emitEvent - 2018.08.18 at 17h 14m 32s.xml"> <configuration name="#EventBus.should throw error when a non BusEvent is given to emitEvent" configurationId="JavaScriptTestRunnerJest" /> </history-entry> <history-entry file="#EventBus_should_throw_error_when_a_non_BusEvent_is_given_to_emitEvent - 2018.08.18 at 17h 14m 49s.xml"> <configuration name="#EventBus.should throw error when a non BusEvent is given to emitEvent" configurationId="JavaScriptTestRunnerJest" /> </history-entry> <history-entry file="#EventBus_should_throw_error_when_a_non_BusEvent_is_given_to_emitEvent - 2018.08.18 at 17h 15m 10s.xml"> <configuration name="#EventBus.should throw error when a non BusEvent is given to emitEvent" configurationId="JavaScriptTestRunnerJest" /> </history-entry> <history-entry file="nx-event-bus_test_js - 2018.08.18 at 17h 15m 19s.xml"> <configuration name="nx-event-bus.test.js" configurationId="JavaScriptTestRunnerJest" /> </history-entry> <history-entry file="nx-event-bus_test_js - 2018.08.18 at 17h 23m 26s.xml"> <configuration name="nx-event-bus.test.js" configurationId="JavaScriptTestRunnerJest" /> </history-entry> </component> <component name="TimeTrackingManager"> <option name="totallyTimeSpent" value="16877000" /> </component> <component name="ToolWindowManager"> <frame x="-1" y="-1" width="1922" height="1037" extended-state="6" /> <editor active="true" /> <layout> <window_info id="npm" sideWeight="0.5007133" side_tool="true" weight="0.15761729" /> <window_info id="Gulp" sideWeight="0.5007133" side_tool="true" weight="0.15761729" /> <window_info id="Favorites" side_tool="true" /> <window_info active="true" content_ui="combo" id="Project" order="0" sideWeight="0.4989035" visible="true" weight="0.15761729" /> <window_info id="Structure" order="1" sideWeight="0.5010965" side_tool="true" weight="0.15761729" /> <window_info anchor="bottom" id="Docker" show_stripe_button="false" /> <window_info anchor="bottom" id="Version Control" /> <window_info anchor="bottom" id="Terminal" /> <window_info anchor="bottom" id="Event Log" sideWeight="0.5002636" side_tool="true" weight="0.32894737" /> <window_info anchor="bottom" id="Duplicates" weight="0.32894737" /> <window_info anchor="bottom" id="Message" order="0" /> <window_info anchor="bottom" id="Find" order="1" weight="0.32894737" /> <window_info anchor="bottom" id="Run" order="2" sideWeight="0.49973643" visible="true" weight="0.23135965" /> <window_info anchor="bottom" id="Debug" order="3" weight="0.3991228" /> <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" /> <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" /> <window_info anchor="bottom" id="TODO" order="6" /> <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" /> <window_info anchor="right" id="Ant Build" order="1" weight="0.25" /> <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" /> </layout> </component> <component name="TypeScriptGeneratedFilesManager"> <option name="version" value="1" /> </component> <component name="VcsContentAnnotationSettings"> <option name="myLimit" value="2678400000" /> </component> <component name="XSLT-Support.FileAssociations.UIState"> <expand /> <select /> </component> <component name="editorHistoryManager"> <entry file="file://$PROJECT_DIR$/.babelrc"> <provider selected="true" editor-type-id="text-editor" /> </entry> <entry file="file://$PROJECT_DIR$/index.js"> <provider selected="true" editor-type-id="text-editor"> <state relative-caret-position="15"> <caret line="1" lean-forward="true" selection-start-line="1" selection-end-line="1" /> </state> </provider> </entry> <entry file="uml://JavaScript-modules-diagram//home/t400/Code/nx-event-bus/lib/nx-event-bus.js"> <provider selected="true" editor-type-id="UmlEditorProvider"> <state> <ID>JavaScript-modules-diagram</ID> <OriginalElement>$PROJECT_DIR$/lib/nx-event-bus.js</OriginalElement> <nodes /> <notes /> <edges /> <settings layout="Hierarchic Group" zoom="1.0" x="399.5" y="429.5" /> <SelectedNodes /> <Categories> <Category>All</Category> </Categories> <VISIBILITY>Details</VISIBILITY> </state> </provider> </entry> <entry file="file://$PROJECT_DIR$/docs/html/index.html"> <provider selected="true" editor-type-id="text-editor" /> </entry> <entry file="file://$PROJECT_DIR$/tests/nx-event-bus.test.js"> <provider selected="true" editor-type-id="text-editor"> <state> <caret column="41" selection-start-column="41" selection-end-column="41" /> </state> </provider> </entry> <entry file="file://$PROJECT_DIR$/docs/html/nx-event-bus.js.html"> <provider selected="true" editor-type-id="text-editor"> <state relative-caret-position="-220"> <caret line="401" column="40" selection-start-line="401" selection-start-column="40" selection-end-line="401" selection-end-column="40" /> </state> </provider> </entry> <entry file="file://$PROJECT_DIR$/docs/documentation.md"> <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]"> <state split_layout="SECOND"> <first_editor relative-caret-position="965"> <caret line="323" selection-start-line="323" selection-end-line="323" /> </first_editor> <second_editor /> </state> </provider> </entry> <entry file="file://$PROJECT_DIR$/README.md"> <provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]"> <state split_layout="SPLIT"> <first_editor relative-caret-position="345"> <caret line="23" column="16" lean-forward="true" selection-start-line="23" selection-start-column="16" selection-end-line="23" selection-end-column="16" /> </first_editor> <second_editor /> </state> </provider> </entry> <entry file="file://$PROJECT_DIR$/lib/nx-event-bus.js"> <provider selected="true" editor-type-id="text-editor"> <state relative-caret-position="171"> <caret line="294" column="34" selection-start-line="294" selection-start-column="34" selection-end-line="294" selection-end-column="34" /> <folding> <element signature="e#10639#11101#0" /> </folding> </state> </provider> </entry> <entry file="file://$PROJECT_DIR$/.travis.yml"> <provider selected="true" editor-type-id="text-editor"> <state relative-caret-position="450"> <caret line="30" column="32" selection-start-line="30" selection-start-column="23" selection-end-line="30" selection-end-column="32" /> </state> </provider> </entry> <entry file="file://$PROJECT_DIR$/package.json"> <provider selected="true" editor-type-id="text-editor"> <state relative-caret-position="45"> <caret line="3" column="19" selection-start-line="3" selection-start-column="19" selection-end-line="3" selection-end-column="19" /> <folding> <element signature="n#!!block;n#repository#0;n#!!top" /> <element signature="n#!!block;n#bugs#0;n#!!top" /> </folding> </state> </provider> </entry> </component> <component name="masterDetails"> <states> <state key="ScopeChooserConfigurable.UI"> <settings> <splitter-proportions> <option name="proportions"> <list> <option value="0.2" /> </list> </option> </splitter-proportions> </settings> </state> </states> </component> </project>