UNPKG

circular-at

Version:

Access array items at any positive or negative index. If the index is out of bounds, it will be wrapped around the length of the array.

314 lines 16.4 kB
<?xml version="1.0" encoding="UTF-8"?> <project version="4"> <component name="ChangeListManager"> <list default="true" id="abf325d5-f17f-405d-ab29-9c6f2a0b8573" name="Default" comment=""> <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/example.js" /> <change type="MODIFICATION" beforePath="$PROJECT_DIR$/package.json" afterPath="$PROJECT_DIR$/package.json" /> </list> <ignored path="at-any-index.iws" /> <ignored path=".idea/workspace.xml" /> <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="TRACKING_ENABLED" 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="CreatePatchCommitExecutor"> <option name="PATCH_PATH" value="" /> </component> <component name="FavoritesManager"> <favorites_list name="at-any-index" /> </component> <component name="FileEditorManager"> <leaf> <file leaf-file-name="example.js" pinned="false" current-in-tab="false"> <entry file="file://$PROJECT_DIR$/example.js"> <provider selected="true" editor-type-id="text-editor"> <state relative-caret-position="92"> <caret line="4" column="0" selection-start-line="4" selection-start-column="0" selection-end-line="4" selection-end-column="0" /> <folding /> </state> </provider> </entry> </file> <file leaf-file-name="package.json" 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="736"> <caret line="31" column="0" selection-start-line="31" selection-start-column="0" selection-end-line="31" selection-end-column="0" /> <folding /> </state> </provider> </entry> </file> <file leaf-file-name="index.js" pinned="false" current-in-tab="false"> <entry file="file://$PROJECT_DIR$/index.js"> <provider selected="true" editor-type-id="text-editor"> <state relative-caret-position="46"> <caret line="2" column="54" selection-start-line="2" selection-start-column="6" selection-end-line="2" selection-end-column="54" /> <folding /> </state> </provider> </entry> </file> <file leaf-file-name="README.md" pinned="false" current-in-tab="false"> <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="690"> <caret line="29" column="0" selection-start-line="7" selection-start-column="0" selection-end-line="29" selection-end-column="0" /> <folding /> </first_editor> <second_editor /> </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$/test.js" /> <option value="$PROJECT_DIR$/index.js" /> <option value="$PROJECT_DIR$/README.md" /> <option value="$PROJECT_DIR$/package.json" /> <option value="$PROJECT_DIR$/example.js" /> </list> </option> </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="JsGulpfileManager"> <detection-done>true</detection-done> <sorting>DEFINITION_ORDER</sorting> </component> <component name="NodeModulesDirectoryManager"> <handled-path value="$PROJECT_DIR$/node_modules" /> </component> <component name="ProjectFrameBounds"> <option name="width" value="1676" /> <option name="height" value="1050" /> </component> <component name="ProjectLevelVcsManager" settingsEditedManually="false"> <OptionsSetting value="true" id="Add" /> <OptionsSetting value="true" id="Remove" /> <OptionsSetting value="true" id="Checkout" /> <OptionsSetting value="true" id="Update" /> <OptionsSetting value="true" id="Status" /> <OptionsSetting value="true" id="Edit" /> <ConfirmationsSetting value="0" id="Add" /> <ConfirmationsSetting value="0" id="Remove" /> </component> <component name="ProjectView"> <navigator currentView="ProjectPane" proportions="" version="1"> <flattenPackages /> <showMembers /> <showModules /> <showLibraryContents /> <hideEmptyPackages /> <abbreviatePackageNames /> <autoscrollToSource /> <autoscrollFromSource /> <sortByType /> <manualOrder /> <foldersAlwaysOnTop value="true" /> </navigator> <panes> <pane id="Scope" /> <pane id="ProjectPane"> <subPane> <PATH> <PATH_ELEMENT> <option name="myItemId" value="circular-at" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" /> </PATH_ELEMENT> </PATH> <PATH> <PATH_ELEMENT> <option name="myItemId" value="circular-at" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" /> </PATH_ELEMENT> <PATH_ELEMENT> <option name="myItemId" value="circular-at" /> <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" /> </PATH_ELEMENT> </PATH> </subPane> </pane> <pane id="Scratches" /> </panes> </component> <component name="PropertiesComponent"> <property name="settings.editor.selected.configurable" value="settings.javascript.linters.eslint" /> <property name="JavaScriptPreferStrict" value="false" /> <property name="JavaScriptWeakerCompletionTypeGuess" value="true" /> <property name="nodejs_interpreter_path" value="$USER_HOME$/.nvm/versions/node/v6.5.0/bin/node" /> <property name="js.eslint.eslintPackage" value="$PROJECT_DIR$/node_modules/eslint" /> <property name="js.eslint.nodeInterpreter" value="project" /> <property name="javascript.nodejs.core.library.configured.version" value="6.5.0" /> <property name="settings.editor.splitter.proportion" value="0.2" /> <property name="js-jscs-nodeInterpreter" value="$USER_HOME$/.nvm/versions/node/v6.5.0/bin/node" /> <property name="last_opened_file_path" value="$PROJECT_DIR$/node_modules/eslint-config-standard/eslintrc.json" /> </component> <component name="RunManager"> <configuration default="true" type="GoApplicationRunConfiguration" factoryName="Go Application"> <module name="" /> <working_directory value="$PROJECT_DIR$" /> <filePath value="$PROJECT_DIR$" /> <kind value="FILE" /> <method /> </configuration> <configuration default="true" type="GoRunFileConfiguration" factoryName="Go Single File"> <module name="" /> <working_directory value="$PROJECT_DIR$" /> <filePath value="$PROJECT_DIR$" /> <method /> </configuration> <configuration default="true" type="GoTestRunConfiguration" factoryName="Go Test"> <module name="" /> <working_directory value="$PROJECT_DIR$" /> <framework value="gotest" /> <kind value="DIRECTORY" /> <method /> </configuration> <configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug"> <method /> </configuration> <configuration default="true" type="NodeJSConfigurationType" factoryName="Node.js" path-to-node="project" working-dir=""> <method /> </configuration> <configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js"> <node-interpreter>project</node-interpreter> <node-options /> <gulpfile /> <tasks /> <arguments /> <envs /> <method /> </configuration> <configuration default="true" type="js.build_tools.npm" factoryName="npm"> <command value="run-script" /> <scripts /> <node-interpreter value="project" /> <envs /> <method /> </configuration> <configuration default="true" type="mocha-javascript-test-runner" factoryName="Mocha"> <node-interpreter>project</node-interpreter> <node-options /> <working-directory /> <pass-parent-env>true</pass-parent-env> <envs /> <ui /> <extra-mocha-options /> <test-kind>DIRECTORY</test-kind> <test-directory /> <recursive>false</recursive> <method /> </configuration> </component> <component name="ShelveChangesManager" show_recycled="false"> <option name="remove_strategy" value="false" /> </component> <component name="TaskManager"> <task active="true" id="Default" summary="Default task"> <changelist id="abf325d5-f17f-405d-ab29-9c6f2a0b8573" name="Default" comment="" /> <created>1475590241763</created> <option name="number" value="Default" /> <option name="presentableId" value="Default" /> <updated>1475590241763</updated> </task> <servers /> </component> <component name="ToolWindowManager"> <frame x="0" y="0" width="1676" height="1050" extended-state="6" /> <editor active="true" /> <layout> <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" /> <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" /> <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" /> <window_info id="npm" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" /> <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" /> <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" /> <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" /> <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32960325" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" /> <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" /> <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> </layout> </component> <component name="Vcs.Log.UiProperties"> <option name="RECENTLY_FILTERED_USER_GROUPS"> <collection /> </option> <option name="RECENTLY_FILTERED_BRANCH_GROUPS"> <collection /> </option> </component> <component name="VcsContentAnnotationSettings"> <option name="myLimit" value="2678400000" /> </component> <component name="XDebuggerManager"> <breakpoint-manager /> <watches-manager /> </component> <component name="editorHistoryManager"> <entry file="file://$PROJECT_DIR$/test.js"> <provider selected="true" editor-type-id="text-editor"> <state relative-caret-position="318"> <caret line="28" column="15" selection-start-line="28" selection-start-column="15" selection-end-line="28" selection-end-column="15" /> </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="690"> <caret line="29" column="0" selection-start-line="7" selection-start-column="0" selection-end-line="29" selection-end-column="0" /> <folding /> </first_editor> <second_editor /> </state> </provider> </entry> <entry file="file://$PROJECT_DIR$/example.js"> <provider selected="true" editor-type-id="text-editor"> <state relative-caret-position="92"> <caret line="4" column="0" selection-start-line="4" selection-start-column="0" selection-end-line="4" selection-end-column="0" /> <folding /> </state> </provider> </entry> <entry file="file://$PROJECT_DIR$/index.js"> <provider selected="true" editor-type-id="text-editor"> <state relative-caret-position="46"> <caret line="2" column="54" selection-start-line="2" selection-start-column="6" selection-end-line="2" selection-end-column="54" /> <folding /> </state> </provider> </entry> <entry file="file://$PROJECT_DIR$/package.json"> <provider selected="true" editor-type-id="text-editor"> <state relative-caret-position="736"> <caret line="31" column="0" selection-start-line="31" selection-start-column="0" selection-end-line="31" selection-end-column="0" /> <folding /> </state> </provider> </entry> </component> </project>