tighter jobs-special
This commit is contained in:
parent
a8fb8ce96d
commit
a45e9ac735
@ -3,7 +3,7 @@
|
|||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="c2fd5632-2143-4c7e-8b0d-96d7692b700b" name="Default" comment="">
|
<list default="true" id="c2fd5632-2143-4c7e-8b0d-96d7692b700b" name="Default" comment="">
|
||||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/test.js" beforeDir="false" afterPath="$PROJECT_DIR$/test.js" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/plugins/filter_md_jobs.js" beforeDir="false" afterPath="$PROJECT_DIR$/plugins/filter_md_jobs.js" afterDir="false" />
|
||||||
</list>
|
</list>
|
||||||
<ignored path="rinser.iws" />
|
<ignored path="rinser.iws" />
|
||||||
<ignored path=".idea/workspace.xml" />
|
<ignored path=".idea/workspace.xml" />
|
||||||
@ -79,11 +79,11 @@
|
|||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
</file>
|
</file>
|
||||||
<file leaf-file-name="test.js" pinned="false" current-in-tab="true">
|
<file leaf-file-name="test.js" pinned="false" current-in-tab="false">
|
||||||
<entry file="file://$PROJECT_DIR$/test.js">
|
<entry file="file://$PROJECT_DIR$/test.js">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="300">
|
<state relative-caret-position="-1906">
|
||||||
<caret line="20" column="21" lean-forward="true" selection-start-line="20" selection-start-column="21" selection-end-line="20" selection-end-column="21" />
|
<caret line="10" column="63" lean-forward="true" selection-start-line="10" selection-start-column="63" selection-end-line="10" selection-end-column="63" />
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
@ -106,11 +106,11 @@
|
|||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
</file>
|
</file>
|
||||||
<file leaf-file-name="filter_md_jobs.js" pinned="false" current-in-tab="false">
|
<file leaf-file-name="filter_md_jobs.js" pinned="false" current-in-tab="true">
|
||||||
<entry file="file://$PROJECT_DIR$/plugins/filter_md_jobs.js">
|
<entry file="file://$PROJECT_DIR$/plugins/filter_md_jobs.js">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="15">
|
<state relative-caret-position="135">
|
||||||
<caret line="1" column="163" lean-forward="true" selection-start-line="1" selection-start-column="16" selection-end-line="1" selection-end-column="163" />
|
<caret line="9" column="3" lean-forward="true" selection-start-line="9" selection-start-column="3" selection-end-line="9" selection-end-column="3" />
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
@ -223,13 +223,13 @@
|
|||||||
<option value="$PROJECT_DIR$/feeds/fit.json" />
|
<option value="$PROJECT_DIR$/feeds/fit.json" />
|
||||||
<option value="$PROJECT_DIR$/gather.js" />
|
<option value="$PROJECT_DIR$/gather.js" />
|
||||||
<option value="$PROJECT_DIR$/v2.gulpfile.js" />
|
<option value="$PROJECT_DIR$/v2.gulpfile.js" />
|
||||||
<option value="$PROJECT_DIR$/plugins/filter_md_jobs.js" />
|
|
||||||
<option value="$PROJECT_DIR$/plugins/filter_show.js" />
|
<option value="$PROJECT_DIR$/plugins/filter_show.js" />
|
||||||
<option value="$PROJECT_DIR$/plugins/filter_location.js" />
|
<option value="$PROJECT_DIR$/plugins/filter_location.js" />
|
||||||
<option value="$PROJECT_DIR$/feeds/jobs-special.json" />
|
<option value="$PROJECT_DIR$/feeds/jobs-special.json" />
|
||||||
<option value="$PROJECT_DIR$/plugins/filter_today_only.js" />
|
<option value="$PROJECT_DIR$/plugins/filter_today_only.js" />
|
||||||
<option value="$PROJECT_DIR$/plugins/filter_reject.js" />
|
<option value="$PROJECT_DIR$/plugins/filter_reject.js" />
|
||||||
<option value="$PROJECT_DIR$/test.js" />
|
<option value="$PROJECT_DIR$/test.js" />
|
||||||
|
<option value="$PROJECT_DIR$/plugins/filter_md_jobs.js" />
|
||||||
</list>
|
</list>
|
||||||
</option>
|
</option>
|
||||||
</component>
|
</component>
|
||||||
@ -313,7 +313,7 @@
|
|||||||
<sorting>DEFINITION_ORDER</sorting>
|
<sorting>DEFINITION_ORDER</sorting>
|
||||||
</component>
|
</component>
|
||||||
<component name="ProjectFrameBounds">
|
<component name="ProjectFrameBounds">
|
||||||
<option name="x" value="17" />
|
<option name="x" value="265" />
|
||||||
<option name="y" value="22" />
|
<option name="y" value="22" />
|
||||||
<option name="width" value="1759" />
|
<option name="width" value="1759" />
|
||||||
<option name="height" value="1106" />
|
<option name="height" value="1106" />
|
||||||
@ -605,21 +605,7 @@
|
|||||||
<workItem from="1530391391023" duration="153000" />
|
<workItem from="1530391391023" duration="153000" />
|
||||||
<workItem from="1530557207480" duration="1187000" />
|
<workItem from="1530557207480" duration="1187000" />
|
||||||
<workItem from="1531587000308" duration="70000" />
|
<workItem from="1531587000308" duration="70000" />
|
||||||
<workItem from="1533827599998" duration="7812000" />
|
<workItem from="1533827599998" duration="8153000" />
|
||||||
</task>
|
|
||||||
<task id="LOCAL-00085" summary="jobs fix, reverted">
|
|
||||||
<created>1500378657900</created>
|
|
||||||
<option name="number" value="00085" />
|
|
||||||
<option name="presentableId" value="LOCAL-00085" />
|
|
||||||
<option name="project" value="LOCAL" />
|
|
||||||
<updated>1500378657900</updated>
|
|
||||||
</task>
|
|
||||||
<task id="LOCAL-00086" summary="jobs fix, reverted">
|
|
||||||
<created>1500378729581</created>
|
|
||||||
<option name="number" value="00086" />
|
|
||||||
<option name="presentableId" value="LOCAL-00086" />
|
|
||||||
<option name="project" value="LOCAL" />
|
|
||||||
<updated>1500378729581</updated>
|
|
||||||
</task>
|
</task>
|
||||||
<task id="LOCAL-00087" summary="jobs fix, reverted">
|
<task id="LOCAL-00087" summary="jobs fix, reverted">
|
||||||
<created>1500378863156</created>
|
<created>1500378863156</created>
|
||||||
@ -950,14 +936,28 @@
|
|||||||
<option name="project" value="LOCAL" />
|
<option name="project" value="LOCAL" />
|
||||||
<updated>1533844303336</updated>
|
<updated>1533844303336</updated>
|
||||||
</task>
|
</task>
|
||||||
<option name="localTasksCounter" value="134" />
|
<task id="LOCAL-00134" summary="tighter jobs-special">
|
||||||
|
<created>1533892284783</created>
|
||||||
|
<option name="number" value="00134" />
|
||||||
|
<option name="presentableId" value="LOCAL-00134" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1533892284783</updated>
|
||||||
|
</task>
|
||||||
|
<task id="LOCAL-00135" summary="tighter jobs-special">
|
||||||
|
<created>1533892481423</created>
|
||||||
|
<option name="number" value="00135" />
|
||||||
|
<option name="presentableId" value="LOCAL-00135" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1533892481423</updated>
|
||||||
|
</task>
|
||||||
|
<option name="localTasksCounter" value="136" />
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
<component name="TimeTrackingManager">
|
<component name="TimeTrackingManager">
|
||||||
<option name="totallyTimeSpent" value="149881000" />
|
<option name="totallyTimeSpent" value="150222000" />
|
||||||
</component>
|
</component>
|
||||||
<component name="ToolWindowManager">
|
<component name="ToolWindowManager">
|
||||||
<frame x="17" y="22" width="1759" height="1106" extended-state="0" />
|
<frame x="265" y="22" width="1759" height="1106" extended-state="0" />
|
||||||
<editor active="true" />
|
<editor active="true" />
|
||||||
<layout>
|
<layout>
|
||||||
<window_info id="Gulp" order="2" sideWeight="0.3202171" side_tool="true" weight="0.18009207" />
|
<window_info id="Gulp" order="2" sideWeight="0.3202171" side_tool="true" weight="0.18009207" />
|
||||||
@ -1443,13 +1443,6 @@
|
|||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/plugins/filter_md_jobs.js">
|
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
|
||||||
<state relative-caret-position="15">
|
|
||||||
<caret line="1" column="163" lean-forward="true" selection-start-line="1" selection-start-column="16" selection-end-line="1" selection-end-column="163" />
|
|
||||||
</state>
|
|
||||||
</provider>
|
|
||||||
</entry>
|
|
||||||
<entry file="file://$PROJECT_DIR$/feeds/jobs-special.json">
|
<entry file="file://$PROJECT_DIR$/feeds/jobs-special.json">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="150">
|
<state relative-caret-position="150">
|
||||||
@ -1459,8 +1452,15 @@
|
|||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/test.js">
|
<entry file="file://$PROJECT_DIR$/test.js">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="300">
|
<state relative-caret-position="-1906">
|
||||||
<caret line="20" column="21" lean-forward="true" selection-start-line="20" selection-start-column="21" selection-end-line="20" selection-end-column="21" />
|
<caret line="10" column="63" lean-forward="true" selection-start-line="10" selection-start-column="63" selection-end-line="10" selection-end-column="63" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/plugins/filter_md_jobs.js">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="135">
|
||||||
|
<caret line="9" column="3" lean-forward="true" selection-start-line="9" selection-start-column="3" selection-end-line="9" selection-end-column="3" />
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
|
@ -4,7 +4,10 @@ module.exports = function (item, itemOptions, source) {
|
|||||||
const resultB = patt.test(itemOptions.title);
|
const resultB = patt.test(itemOptions.title);
|
||||||
|
|
||||||
console.log('My Filter:', (result || resultB === true) ? 'Pass' : 'Reject');
|
console.log('My Filter:', (result || resultB === true) ? 'Pass' : 'Reject');
|
||||||
if (result || resultB === true) console.log(itemOptions);
|
if (result || resultB === true) {
|
||||||
|
console.log(patt.exec(itemOptions.description));
|
||||||
|
console.log(patt.exec(itemOptions.title));
|
||||||
|
}
|
||||||
return (result || resultB === true) ? itemOptions : -1 ;
|
return (result || resultB === true) ? itemOptions : -1 ;
|
||||||
// console.log('>> Filter_md_jobs', (result||resultB === true));
|
// console.log('>> Filter_md_jobs', (result||resultB === true));
|
||||||
// return itemOptions;
|
// return itemOptions;
|
||||||
|
Loading…
Reference in New Issue
Block a user