Commit 7eecdb5103e1436daa0402a79c9caf06d4568a4e
1 parent
13f11507
alt menue
Showing
3 changed files
with
67 additions
and
542 deletions
api/models/Menu.js
1 | 1 | /* |
2 | - * Menu.js 微信菜单模型 | |
3 | - * | |
4 | - * @description :: TODO: You might write a short summary of how this model works and what it represents here. | |
5 | - * @docs :: http://sailsjs.org/#!documentation/models | |
6 | - * | |
7 | - * 删除的一条 | |
8 | - { | |
9 | - "type": "view", | |
10 | - "name": "订单查询", | |
11 | - "url": "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + sails.config.custom.appid + "&redirect_uri=http%3A%2F%2Fwx.nong12.com%2Fapi%2Fauth%3Fevent_key%3Dbtn_ordersearch&response_type=code&scope=snsapi_base&state=1#wechat_redirect" | |
12 | - } | |
13 | - | |
14 | - | |
15 | - 过年活动调整,活动结束改回来 | |
16 | - data: { | |
17 | - "button": [{ | |
18 | - "name": "农丰网", | |
19 | - "sub_button": [{ | |
20 | - "type": "view", | |
21 | - "name": "采购商品", | |
22 | - "url": "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + sails.config.custom.appid + "&redirect_uri=http%3A%2F%2Fwx.nong12.com%2Fapi%2Fauth%3Fevent_key%3Dbtn_category&response_type=code&scope=snsapi_base&state=1#wechat_redirect" | |
23 | - }] | |
24 | - }, { | |
25 | - "name": "商机信息", | |
26 | - "sub_button": [{ | |
27 | - "type": "view", | |
28 | - "name": "查看商机", | |
29 | - "url": "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + sails.config.custom.appid + "&redirect_uri=http%3A%2F%2Fwx.nong12.com%2Fapi%2Fauth%3Fevent_key%3Dsupply_list&response_type=code&scope=snsapi_base&state=1#wechat_redirect" | |
30 | - }, { | |
31 | - "type": "view", | |
32 | - "name": "发布商机", | |
33 | - "url": "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + sails.config.custom.appid + "&redirect_uri=http%3A%2F%2Fwx.nong12.com%2Fapi%2Fauth%3Fevent_key%3Drelease_supply&response_type=code&scope=snsapi_base&state=1#wechat_redirect" | |
34 | - }] | |
35 | - }, { | |
36 | - "name": "我的农丰", | |
37 | - "sub_button": [{ | |
38 | - "type": "view", | |
39 | - "name": "我的采购", | |
40 | - "url": "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + sails.config.custom.appid + "&redirect_uri=http%3A%2F%2Fwx.nong12.com%2Fapi%2Fauth%3Fevent_key%3Dbtn_my_purchase&response_type=code&scope=snsapi_base&state=1#wechat_redirect" | |
41 | - }, { | |
42 | - "type": "view", | |
43 | - "name": "我的销售", | |
44 | - "url": "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + sails.config.custom.appid + "&redirect_uri=http%3A%2F%2Fwx.nong12.com%2Fapi%2Fauth%3Fevent_key%3Dbtn_my_sale&response_type=code&scope=snsapi_base&state=1#wechat_redirect" | |
45 | - }] | |
46 | - }] | |
47 | - }, | |
48 | - | |
49 | - | |
50 | - */ | |
51 | - module.exports = { | |
52 | - connection: "localDiskDb", | |
53 | - autoCreatedAt: false, | |
54 | - autoUpdatedAt: false, | |
2 | + * Menu.js 微信菜单模型 | |
3 | + * | |
4 | + * @description :: TODO: You might write a short summary of how this model works and what it represents here. | |
5 | + * @docs :: http://sailsjs.org/#!documentation/models | |
6 | + * | |
7 | + * 删除的一条 | |
8 | + { | |
9 | + "type": "view", | |
10 | + "name": "订单查询", | |
11 | + "url": "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + sails.config.custom.appid + "&redirect_uri=http%3A%2F%2Fwx.nong12.com%2Fapi%2Fauth%3Fevent_key%3Dbtn_ordersearch&response_type=code&scope=snsapi_base&state=1#wechat_redirect" | |
12 | + } | |
13 | + | |
14 | + 过年活动调整,活动结束已改回来 | |
55 | 15 | data: { |
56 | 16 | "button": [{ |
57 | 17 | "name": "年货大集", |
... | ... | @@ -89,6 +49,43 @@ |
89 | 49 | }] |
90 | 50 | }] |
91 | 51 | }, |
52 | +*/ | |
53 | + module.exports = { | |
54 | + connection: "localDiskDb", | |
55 | + autoCreatedAt: false, | |
56 | + autoUpdatedAt: false, | |
57 | + data: { | |
58 | + "button": [{ | |
59 | + "name": "农丰网", | |
60 | + "sub_button": [{ | |
61 | + "type": "view", | |
62 | + "name": "采购商品", | |
63 | + "url": "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + sails.config.custom.appid + "&redirect_uri=http%3A%2F%2Fwx.nong12.com%2Fapi%2Fauth%3Fevent_key%3Dbtn_category&response_type=code&scope=snsapi_base&state=1#wechat_redirect" | |
64 | + }] | |
65 | + }, { | |
66 | + "name": "商机信息", | |
67 | + "sub_button": [{ | |
68 | + "type": "view", | |
69 | + "name": "查看商机", | |
70 | + "url": "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + sails.config.custom.appid + "&redirect_uri=http%3A%2F%2Fwx.nong12.com%2Fapi%2Fauth%3Fevent_key%3Dsupply_list&response_type=code&scope=snsapi_base&state=1#wechat_redirect" | |
71 | + }, { | |
72 | + "type": "view", | |
73 | + "name": "发布商机", | |
74 | + "url": "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + sails.config.custom.appid + "&redirect_uri=http%3A%2F%2Fwx.nong12.com%2Fapi%2Fauth%3Fevent_key%3Drelease_supply&response_type=code&scope=snsapi_base&state=1#wechat_redirect" | |
75 | + }] | |
76 | + }, { | |
77 | + "name": "我的农丰", | |
78 | + "sub_button": [{ | |
79 | + "type": "view", | |
80 | + "name": "我的采购", | |
81 | + "url": "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + sails.config.custom.appid + "&redirect_uri=http%3A%2F%2Fwx.nong12.com%2Fapi%2Fauth%3Fevent_key%3Dbtn_my_purchase&response_type=code&scope=snsapi_base&state=1#wechat_redirect" | |
82 | + }, { | |
83 | + "type": "view", | |
84 | + "name": "我的销售", | |
85 | + "url": "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + sails.config.custom.appid + "&redirect_uri=http%3A%2F%2Fwx.nong12.com%2Fapi%2Fauth%3Fevent_key%3Dbtn_my_sale&response_type=code&scope=snsapi_base&state=1#wechat_redirect" | |
86 | + }] | |
87 | + }] | |
88 | + }, | |
92 | 89 | btnMaps: { |
93 | 90 | "btn_my_purchase": "http://m.nong12.com/user/my_purchase.do", |
94 | 91 | "btn_my_sale": "http://m.nong12.com/user/my_sale.do", | ... | ... |
config/custom.js
... | ... | @@ -16,6 +16,6 @@ module.exports.custom = { |
16 | 16 | |
17 | 17 | "defaultrepy": "您好,感谢您关注农丰网,在购买年货中,您遇到任何问题,欢迎致电: 0451 - 86622777,谢谢您的选购!", |
18 | 18 | |
19 | - // "defaultSubscribeRepy": "感谢您关注农丰网官方微信。农丰网是专业的农产品批发采购平台,绑定农丰网账号,微信也能做生意," | |
20 | - "defaultSubscribeRepy": "感谢您关注农丰网微信。农丰网在春节期间特别推出年货大集活动,全国各地的亲们都可以方便地买到产地直供的东北特产,哈尔滨的亲们还能买到各种绝对超值的水果、粮油、海鲜、山货和干果。年货大集所售商品均为批发市场商户的进货价,而且全部包邮。详情请点击底部菜单“年货大集”,哈尔滨同城配送请选择“<a href=\"http://m.act.nong12.com/hn0BJvV.html\">哈市年货主场</a>”或“<a href=\"http://m.act.nong12.com/ZfvUELe.html\">哈市水果专场</a>”、“<a href=\"http://m.act.nong12.com/MTXayfAkr.html\">哈市年货礼包</a>”。 购买中有任何问题欢迎致电: 0451 - 86622777 " | |
19 | + "defaultSubscribeRepy": "感谢您关注农丰网官方微信。农丰网是专业的农产品批发采购平台,绑定农丰网账号,微信也能做生意," | |
20 | + // "defaultSubscribeRepy": "感谢您关注农丰网微信。农丰网在春节期间特别推出年货大集活动,全国各地的亲们都可以方便地买到产地直供的东北特产,哈尔滨的亲们还能买到各种绝对超值的水果、粮油、海鲜、山货和干果。年货大集所售商品均为批发市场商户的进货价,而且全部包邮。详情请点击底部菜单“年货大集”,哈尔滨同城配送请选择“<a href=\"http://m.act.nong12.com/hn0BJvV.html\">哈市年货主场</a>”或“<a href=\"http://m.act.nong12.com/ZfvUELe.html\">哈市水果专场</a>”、“<a href=\"http://m.act.nong12.com/MTXayfAkr.html\">哈市年货礼包</a>”。 购买中有任何问题欢迎致电: 0451 - 86622777 " | |
21 | 21 | }; |
22 | 22 | \ No newline at end of file | ... | ... |
ndoe_wechat.sublime-workspace
... | ... | @@ -516,34 +516,9 @@ |
516 | 516 | "buffers": |
517 | 517 | [ |
518 | 518 | { |
519 | - "file": "api/models/Menu.js", | |
520 | 519 | "settings": |
521 | 520 | { |
522 | - "buffer_size": 5990, | |
523 | - "line_ending": "Windows" | |
524 | - } | |
525 | - }, | |
526 | - { | |
527 | - "file": "assets/static/index.html", | |
528 | - "settings": | |
529 | - { | |
530 | - "buffer_size": 4596, | |
531 | - "line_ending": "Windows" | |
532 | - } | |
533 | - }, | |
534 | - { | |
535 | - "file": "assets/js/javascript/common/Validate.js", | |
536 | - "settings": | |
537 | - { | |
538 | - "buffer_size": 3564, | |
539 | - "line_ending": "Windows" | |
540 | - } | |
541 | - }, | |
542 | - { | |
543 | - "file": "assets/css/style/user_relevance.less", | |
544 | - "settings": | |
545 | - { | |
546 | - "buffer_size": 1786, | |
521 | + "buffer_size": 0, | |
547 | 522 | "line_ending": "Windows" |
548 | 523 | } |
549 | 524 | } |
... | ... | @@ -592,6 +567,10 @@ |
592 | 567 | }, |
593 | 568 | "file_history": |
594 | 569 | [ |
570 | + "/D/workspace/wx/api/models/Menu.js", | |
571 | + "/D/workspace/wx/assets/static/index.html", | |
572 | + "/D/workspace/wx/assets/js/javascript/common/Validate.js", | |
573 | + "/D/workspace/wx/assets/css/style/user_relevance.less", | |
595 | 574 | "/D/workspace/wx/api/controllers/ApiController.js", |
596 | 575 | "/D/workspace/wx/node_modules/wechat-api/lib/api_common.js", |
597 | 576 | "/D/workspace/wx/api/services/WechatUtils.js", |
... | ... | @@ -599,7 +578,6 @@ |
599 | 578 | "/D/workspace/wx/api/controllers/ServiceController.js", |
600 | 579 | "/D/workspace/wx/apidoc.json", |
601 | 580 | "/D/workspace/wx/assets/js/javascript/user_relevance/index.js", |
602 | - "/D/workspace/wx/api/models/Menu.js", | |
603 | 581 | "/D/workspace/wx/node_modules/wechat-api/README.md", |
604 | 582 | "/D/workspace/wx/config/custom.js", |
605 | 583 | "/D/workspace/wx/api/controllers/UserRelevanceController.js", |
... | ... | @@ -716,10 +694,7 @@ |
716 | 694 | "/D/workspace/uedhome/newStatic/node_wechat/access_token.txt", |
717 | 695 | "/C/Users/liujie/Desktop/pnrshop.host.txt", |
718 | 696 | "/D/workspace/uedhome/newStatic/node_wechat/pub", |
719 | - "/D/workspace/uedhome/newStatic/node_wechat/api/policies/sessionAuth.js", | |
720 | - "/D/workspace/uedhome/newStatic/node_wechat/views/403.ejs", | |
721 | - "/D/workspace/uedhome/newStatic/node_wechat/node_modules/sails/node_modules/waterline/lib/waterline/model/lib/model.js", | |
722 | - "/D/workspace/uedhome/newStatic/node_wechat/views/Api/index.ejs" | |
697 | + "/D/workspace/uedhome/newStatic/node_wechat/api/policies/sessionAuth.js" | |
723 | 698 | ], |
724 | 699 | "find": |
725 | 700 | { |
... | ... | @@ -808,6 +783,7 @@ |
808 | 783 | "case_sensitive": false, |
809 | 784 | "find_history": |
810 | 785 | [ |
786 | + "#login", | |
811 | 787 | "UserRelevance", |
812 | 788 | "getLatestToken", |
813 | 789 | "access_token", |
... | ... | @@ -934,8 +910,7 @@ |
934 | 910 | "0", |
935 | 911 | "console", |
936 | 912 | "localhost", |
937 | - "click", | |
938 | - "db" | |
913 | + "click" | |
939 | 914 | ], |
940 | 915 | "highlight": true, |
941 | 916 | "in_selection": false, |
... | ... | @@ -955,15 +930,14 @@ |
955 | 930 | "groups": |
956 | 931 | [ |
957 | 932 | { |
958 | - "selected": 3, | |
933 | + "selected": 0, | |
959 | 934 | "sheets": |
960 | 935 | [ |
961 | 936 | { |
962 | 937 | "buffer": 0, |
963 | - "file": "api/models/Menu.js", | |
964 | 938 | "settings": |
965 | 939 | { |
966 | - "buffer_size": 5990, | |
940 | + "buffer_size": 0, | |
967 | 941 | "regions": |
968 | 942 | { |
969 | 943 | }, |
... | ... | @@ -976,453 +950,7 @@ |
976 | 950 | ], |
977 | 951 | "settings": |
978 | 952 | { |
979 | - "annotations": | |
980 | - [ | |
981 | - "TODO", | |
982 | - "README", | |
983 | - "FIXME" | |
984 | - ], | |
985 | - "csslint_options": | |
986 | - { | |
987 | - "adjoining-classes": "warning", | |
988 | - "box-model": true, | |
989 | - "box-sizing": "warning", | |
990 | - "compatible-vendor-prefixes": "warning", | |
991 | - "display-property-grouping": true, | |
992 | - "duplicate-background-images": "warning", | |
993 | - "duplicate-properties": true, | |
994 | - "empty-rules": true, | |
995 | - "errors": true, | |
996 | - "fallback-colors": "warning", | |
997 | - "floats": "warning", | |
998 | - "font-faces": "warning", | |
999 | - "font-sizes": "warning", | |
1000 | - "gradients": "warning", | |
1001 | - "ids": "warning", | |
1002 | - "import": "warning", | |
1003 | - "important": "warning", | |
1004 | - "known-properties": true, | |
1005 | - "outline-none": "warning", | |
1006 | - "overqualified-elements": "warning", | |
1007 | - "qualified-headings": "warning", | |
1008 | - "regex-selectors": "warning", | |
1009 | - "rules-count": "warning", | |
1010 | - "shorthand": "warning", | |
1011 | - "star-property-hack": "warning", | |
1012 | - "text-indent": "warning", | |
1013 | - "underscore-property-hack": "warning", | |
1014 | - "unique-headings": "warning", | |
1015 | - "universal-selector": "warning", | |
1016 | - "vendor-prefix": true, | |
1017 | - "zero-units": "warning" | |
1018 | - }, | |
1019 | - "gjslint_ignore": | |
1020 | - [ | |
1021 | - 110.0 | |
1022 | - ], | |
1023 | - "gjslint_options": | |
1024 | - [ | |
1025 | - ], | |
1026 | - "javascript_linter": "jshint", | |
1027 | - "jshint_options": | |
1028 | - { | |
1029 | - "browser": true, | |
1030 | - "devel": true, | |
1031 | - "evil": true, | |
1032 | - "regexdash": true, | |
1033 | - "sub": true, | |
1034 | - "trailing": true, | |
1035 | - "wsh": true | |
1036 | - }, | |
1037 | - "pep8": true, | |
1038 | - "pep8_ignore": | |
1039 | - [ | |
1040 | - "E501" | |
1041 | - ], | |
1042 | - "perl_linter": "perlcritic", | |
1043 | - "pyflakes_ignore": | |
1044 | - [ | |
1045 | - ], | |
1046 | - "pyflakes_ignore_import_*": true, | |
1047 | - "sublimelinter": "load-save", | |
1048 | - "sublimelinter_delay": 2.0, | |
1049 | - "sublimelinter_disable": | |
1050 | - [ | |
1051 | - ], | |
1052 | - "sublimelinter_executable_map": | |
1053 | - { | |
1054 | - }, | |
1055 | - "sublimelinter_fill_outlines": false, | |
1056 | - "sublimelinter_gutter_marks": true, | |
1057 | - "sublimelinter_gutter_marks_theme": "simple", | |
1058 | - "sublimelinter_mark_style": "none", | |
1059 | - "sublimelinter_notes": false, | |
1060 | - "sublimelinter_objj_check_ascii": false, | |
1061 | - "sublimelinter_popup_errors_on_save": false, | |
1062 | - "sublimelinter_syntax_map": | |
1063 | - { | |
1064 | - "C++": "c", | |
1065 | - "Python Django": "python", | |
1066 | - "Ruby on Rails": "ruby" | |
1067 | - }, | |
1068 | - "sublimelinter_wrap_find": true, | |
1069 | - "syntax": "Packages/JavaScript/JavaScript.tmLanguage", | |
1070 | - "tab_size": 4, | |
1071 | - "translate_tabs_to_spaces": true | |
1072 | - }, | |
1073 | - "translation.x": 0.0, | |
1074 | - "translation.y": 2046.0, | |
1075 | - "zoom_level": 1.0 | |
1076 | - }, | |
1077 | - "type": "text" | |
1078 | - }, | |
1079 | - { | |
1080 | - "buffer": 1, | |
1081 | - "file": "assets/static/index.html", | |
1082 | - "settings": | |
1083 | - { | |
1084 | - "buffer_size": 4596, | |
1085 | - "regions": | |
1086 | - { | |
1087 | - }, | |
1088 | - "selection": | |
1089 | - [ | |
1090 | - [ | |
1091 | - 2525, | |
1092 | - 2525 | |
1093 | - ] | |
1094 | - ], | |
1095 | - "settings": | |
1096 | - { | |
1097 | - "annotations": | |
1098 | - [ | |
1099 | - "TODO", | |
1100 | - "README", | |
1101 | - "FIXME" | |
1102 | - ], | |
1103 | - "csslint_options": | |
1104 | - { | |
1105 | - "adjoining-classes": "warning", | |
1106 | - "box-model": true, | |
1107 | - "box-sizing": "warning", | |
1108 | - "compatible-vendor-prefixes": "warning", | |
1109 | - "display-property-grouping": true, | |
1110 | - "duplicate-background-images": "warning", | |
1111 | - "duplicate-properties": true, | |
1112 | - "empty-rules": true, | |
1113 | - "errors": true, | |
1114 | - "fallback-colors": "warning", | |
1115 | - "floats": "warning", | |
1116 | - "font-faces": "warning", | |
1117 | - "font-sizes": "warning", | |
1118 | - "gradients": "warning", | |
1119 | - "ids": "warning", | |
1120 | - "import": "warning", | |
1121 | - "important": "warning", | |
1122 | - "known-properties": true, | |
1123 | - "outline-none": "warning", | |
1124 | - "overqualified-elements": "warning", | |
1125 | - "qualified-headings": "warning", | |
1126 | - "regex-selectors": "warning", | |
1127 | - "rules-count": "warning", | |
1128 | - "shorthand": "warning", | |
1129 | - "star-property-hack": "warning", | |
1130 | - "text-indent": "warning", | |
1131 | - "underscore-property-hack": "warning", | |
1132 | - "unique-headings": "warning", | |
1133 | - "universal-selector": "warning", | |
1134 | - "vendor-prefix": true, | |
1135 | - "zero-units": "warning" | |
1136 | - }, | |
1137 | - "gjslint_ignore": | |
1138 | - [ | |
1139 | - 110.0 | |
1140 | - ], | |
1141 | - "gjslint_options": | |
1142 | - [ | |
1143 | - ], | |
1144 | - "javascript_linter": "jshint", | |
1145 | - "jshint_options": | |
1146 | - { | |
1147 | - "browser": true, | |
1148 | - "devel": true, | |
1149 | - "evil": true, | |
1150 | - "regexdash": true, | |
1151 | - "sub": true, | |
1152 | - "trailing": true, | |
1153 | - "wsh": true | |
1154 | - }, | |
1155 | - "pep8": true, | |
1156 | - "pep8_ignore": | |
1157 | - [ | |
1158 | - "E501" | |
1159 | - ], | |
1160 | - "perl_linter": "perlcritic", | |
1161 | - "pyflakes_ignore": | |
1162 | - [ | |
1163 | - ], | |
1164 | - "pyflakes_ignore_import_*": true, | |
1165 | - "sublimelinter": "load-save", | |
1166 | - "sublimelinter_delay": 2.0, | |
1167 | - "sublimelinter_disable": | |
1168 | - [ | |
1169 | - ], | |
1170 | - "sublimelinter_executable_map": | |
1171 | - { | |
1172 | - }, | |
1173 | - "sublimelinter_fill_outlines": false, | |
1174 | - "sublimelinter_gutter_marks": true, | |
1175 | - "sublimelinter_gutter_marks_theme": "simple", | |
1176 | - "sublimelinter_mark_style": "none", | |
1177 | - "sublimelinter_notes": false, | |
1178 | - "sublimelinter_objj_check_ascii": false, | |
1179 | - "sublimelinter_popup_errors_on_save": false, | |
1180 | - "sublimelinter_syntax_map": | |
1181 | - { | |
1182 | - "C++": "c", | |
1183 | - "Python Django": "python", | |
1184 | - "Ruby on Rails": "ruby" | |
1185 | - }, | |
1186 | - "sublimelinter_wrap_find": true, | |
1187 | - "syntax": "Packages/HTML/HTML.tmLanguage", | |
1188 | - "tab_size": 4, | |
1189 | - "translate_tabs_to_spaces": true | |
1190 | - }, | |
1191 | - "translation.x": 0.0, | |
1192 | - "translation.y": 990.0, | |
1193 | - "zoom_level": 1.0 | |
1194 | - }, | |
1195 | - "type": "text" | |
1196 | - }, | |
1197 | - { | |
1198 | - "buffer": 2, | |
1199 | - "file": "assets/js/javascript/common/Validate.js", | |
1200 | - "settings": | |
1201 | - { | |
1202 | - "buffer_size": 3564, | |
1203 | - "regions": | |
1204 | - { | |
1205 | - }, | |
1206 | - "selection": | |
1207 | - [ | |
1208 | - [ | |
1209 | - 1139, | |
1210 | - 1139 | |
1211 | - ] | |
1212 | - ], | |
1213 | - "settings": | |
1214 | - { | |
1215 | - "annotations": | |
1216 | - [ | |
1217 | - "TODO", | |
1218 | - "README", | |
1219 | - "FIXME" | |
1220 | - ], | |
1221 | - "csslint_options": | |
1222 | - { | |
1223 | - "adjoining-classes": "warning", | |
1224 | - "box-model": true, | |
1225 | - "box-sizing": "warning", | |
1226 | - "compatible-vendor-prefixes": "warning", | |
1227 | - "display-property-grouping": true, | |
1228 | - "duplicate-background-images": "warning", | |
1229 | - "duplicate-properties": true, | |
1230 | - "empty-rules": true, | |
1231 | - "errors": true, | |
1232 | - "fallback-colors": "warning", | |
1233 | - "floats": "warning", | |
1234 | - "font-faces": "warning", | |
1235 | - "font-sizes": "warning", | |
1236 | - "gradients": "warning", | |
1237 | - "ids": "warning", | |
1238 | - "import": "warning", | |
1239 | - "important": "warning", | |
1240 | - "known-properties": true, | |
1241 | - "outline-none": "warning", | |
1242 | - "overqualified-elements": "warning", | |
1243 | - "qualified-headings": "warning", | |
1244 | - "regex-selectors": "warning", | |
1245 | - "rules-count": "warning", | |
1246 | - "shorthand": "warning", | |
1247 | - "star-property-hack": "warning", | |
1248 | - "text-indent": "warning", | |
1249 | - "underscore-property-hack": "warning", | |
1250 | - "unique-headings": "warning", | |
1251 | - "universal-selector": "warning", | |
1252 | - "vendor-prefix": true, | |
1253 | - "zero-units": "warning" | |
1254 | - }, | |
1255 | - "gjslint_ignore": | |
1256 | - [ | |
1257 | - 110.0 | |
1258 | - ], | |
1259 | - "gjslint_options": | |
1260 | - [ | |
1261 | - ], | |
1262 | - "javascript_linter": "jshint", | |
1263 | - "jshint_options": | |
1264 | - { | |
1265 | - "browser": true, | |
1266 | - "devel": true, | |
1267 | - "evil": true, | |
1268 | - "regexdash": true, | |
1269 | - "sub": true, | |
1270 | - "trailing": true, | |
1271 | - "wsh": true | |
1272 | - }, | |
1273 | - "pep8": true, | |
1274 | - "pep8_ignore": | |
1275 | - [ | |
1276 | - "E501" | |
1277 | - ], | |
1278 | - "perl_linter": "perlcritic", | |
1279 | - "pyflakes_ignore": | |
1280 | - [ | |
1281 | - ], | |
1282 | - "pyflakes_ignore_import_*": true, | |
1283 | - "sublimelinter": "load-save", | |
1284 | - "sublimelinter_delay": 2.0, | |
1285 | - "sublimelinter_disable": | |
1286 | - [ | |
1287 | - ], | |
1288 | - "sublimelinter_executable_map": | |
1289 | - { | |
1290 | - }, | |
1291 | - "sublimelinter_fill_outlines": false, | |
1292 | - "sublimelinter_gutter_marks": true, | |
1293 | - "sublimelinter_gutter_marks_theme": "simple", | |
1294 | - "sublimelinter_mark_style": "none", | |
1295 | - "sublimelinter_notes": false, | |
1296 | - "sublimelinter_objj_check_ascii": false, | |
1297 | - "sublimelinter_popup_errors_on_save": false, | |
1298 | - "sublimelinter_syntax_map": | |
1299 | - { | |
1300 | - "C++": "c", | |
1301 | - "Python Django": "python", | |
1302 | - "Ruby on Rails": "ruby" | |
1303 | - }, | |
1304 | - "sublimelinter_wrap_find": true, | |
1305 | - "syntax": "Packages/JavaScript/JavaScript.tmLanguage", | |
1306 | - "tab_size": 4, | |
1307 | - "translate_tabs_to_spaces": true | |
1308 | - }, | |
1309 | - "translation.x": 0.0, | |
1310 | - "translation.y": 462.0, | |
1311 | - "zoom_level": 1.0 | |
1312 | - }, | |
1313 | - "type": "text" | |
1314 | - }, | |
1315 | - { | |
1316 | - "buffer": 3, | |
1317 | - "file": "assets/css/style/user_relevance.less", | |
1318 | - "settings": | |
1319 | - { | |
1320 | - "buffer_size": 1786, | |
1321 | - "regions": | |
1322 | - { | |
1323 | - }, | |
1324 | - "selection": | |
1325 | - [ | |
1326 | - [ | |
1327 | - 147, | |
1328 | - 147 | |
1329 | - ] | |
1330 | - ], | |
1331 | - "settings": | |
1332 | - { | |
1333 | - "annotations": | |
1334 | - [ | |
1335 | - "TODO", | |
1336 | - "README", | |
1337 | - "FIXME" | |
1338 | - ], | |
1339 | - "csslint_options": | |
1340 | - { | |
1341 | - "adjoining-classes": "warning", | |
1342 | - "box-model": true, | |
1343 | - "box-sizing": "warning", | |
1344 | - "compatible-vendor-prefixes": "warning", | |
1345 | - "display-property-grouping": true, | |
1346 | - "duplicate-background-images": "warning", | |
1347 | - "duplicate-properties": true, | |
1348 | - "empty-rules": true, | |
1349 | - "errors": true, | |
1350 | - "fallback-colors": "warning", | |
1351 | - "floats": "warning", | |
1352 | - "font-faces": "warning", | |
1353 | - "font-sizes": "warning", | |
1354 | - "gradients": "warning", | |
1355 | - "ids": "warning", | |
1356 | - "import": "warning", | |
1357 | - "important": "warning", | |
1358 | - "known-properties": true, | |
1359 | - "outline-none": "warning", | |
1360 | - "overqualified-elements": "warning", | |
1361 | - "qualified-headings": "warning", | |
1362 | - "regex-selectors": "warning", | |
1363 | - "rules-count": "warning", | |
1364 | - "shorthand": "warning", | |
1365 | - "star-property-hack": "warning", | |
1366 | - "text-indent": "warning", | |
1367 | - "underscore-property-hack": "warning", | |
1368 | - "unique-headings": "warning", | |
1369 | - "universal-selector": "warning", | |
1370 | - "vendor-prefix": true, | |
1371 | - "zero-units": "warning" | |
1372 | - }, | |
1373 | - "gjslint_ignore": | |
1374 | - [ | |
1375 | - 110.0 | |
1376 | - ], | |
1377 | - "gjslint_options": | |
1378 | - [ | |
1379 | - ], | |
1380 | - "javascript_linter": "jshint", | |
1381 | - "jshint_options": | |
1382 | - { | |
1383 | - "browser": true, | |
1384 | - "devel": true, | |
1385 | - "evil": true, | |
1386 | - "regexdash": true, | |
1387 | - "sub": true, | |
1388 | - "trailing": true, | |
1389 | - "wsh": true | |
1390 | - }, | |
1391 | - "pep8": true, | |
1392 | - "pep8_ignore": | |
1393 | - [ | |
1394 | - "E501" | |
1395 | - ], | |
1396 | - "perl_linter": "perlcritic", | |
1397 | - "pyflakes_ignore": | |
1398 | - [ | |
1399 | - ], | |
1400 | - "pyflakes_ignore_import_*": true, | |
1401 | - "sublimelinter": "load-save", | |
1402 | - "sublimelinter_delay": 2.0, | |
1403 | - "sublimelinter_disable": | |
1404 | - [ | |
1405 | - ], | |
1406 | - "sublimelinter_executable_map": | |
1407 | - { | |
1408 | - }, | |
1409 | - "sublimelinter_fill_outlines": false, | |
1410 | - "sublimelinter_gutter_marks": true, | |
1411 | - "sublimelinter_gutter_marks_theme": "simple", | |
1412 | - "sublimelinter_mark_style": "none", | |
1413 | - "sublimelinter_notes": false, | |
1414 | - "sublimelinter_objj_check_ascii": false, | |
1415 | - "sublimelinter_popup_errors_on_save": false, | |
1416 | - "sublimelinter_syntax_map": | |
1417 | - { | |
1418 | - "C++": "c", | |
1419 | - "Python Django": "python", | |
1420 | - "Ruby on Rails": "ruby" | |
1421 | - }, | |
1422 | - "sublimelinter_wrap_find": true, | |
1423 | - "syntax": "Packages/LESS/LESS.tmLanguage", | |
1424 | - "tab_size": 2, | |
1425 | - "translate_tabs_to_spaces": true | |
953 | + "syntax": "Packages/Text/Plain text.tmLanguage" | |
1426 | 954 | }, |
1427 | 955 | "translation.x": 0.0, |
1428 | 956 | "translation.y": 0.0, |
... | ... | @@ -1999,6 +1527,10 @@ |
1999 | 1527 | "selected_items": |
2000 | 1528 | [ |
2001 | 1529 | [ |
1530 | + "", | |
1531 | + "/D/workspace/wx/ndoe_wechat.sublime-project" | |
1532 | + ], | |
1533 | + [ | |
2002 | 1534 | "zhang", |
2003 | 1535 | "/D/workspace/zhangchuwang/trunk/zhangchuwang.sublime-project" |
2004 | 1536 | ], |
... | ... | @@ -2011,10 +1543,6 @@ |
2011 | 1543 | "/D/workspace/uedhome/node_wechat/ndoe_wechat.sublime-project" |
2012 | 1544 | ], |
2013 | 1545 | [ |
2014 | - "", | |
2015 | - "/D/workspace/bae_helpjs/printf.sublime-project" | |
2016 | - ], | |
2017 | - [ | |
2018 | 1546 | "print", |
2019 | 1547 | "/D/workspace/bae_helpjs/printf.sublime-project" |
2020 | 1548 | ], | ... | ... |