typey 1.0.0.alpha.3 → 1.0.0.alpha.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +109 -13
- data/stylesheets/_typey.scss +3 -1
- data/stylesheets/config.codekit +943 -0
- data/stylesheets/typey/_font-size.scss +4 -5
- data/stylesheets/typey/_helpers.scss +1 -1
- data/stylesheets/typey/_line-height.scss +7 -6
- data/stylesheets/typey/_margin.scss +143 -0
- data/stylesheets/typey/_padding.scss +143 -0
- data/typey.gemspec +1 -1
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b7f8ea0b630246c8b382021b7588ca9f531b770
|
4
|
+
data.tar.gz: 6a5b849579fa12e7229bc2fbc72b979d6d8c6cad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d27dc7b6c3e887376630c9621c513fc3313910bd5d7d6c3bc74f62f61d16c74a4f161f4d7ab007bcdfc2d412e8668532d702dba0cb5376229d6d308ca683e79
|
7
|
+
data.tar.gz: 72ddabdb792c0ba37c0893bc543be03cb6ef2c34e528c4da211cfdd019ffa24a1d9a638f9653a57922972b877591ff43fa116e92452379b023e354413bb762b6
|
data/README.md
CHANGED
@@ -12,20 +12,49 @@ Do typography better.
|
|
12
12
|
* Define font weights inside a sass map.
|
13
13
|
* Ready to go web safe font stacks that are easy to extend. Credit: John Albin Wilkins.
|
14
14
|
|
15
|
+
### Requirements
|
16
|
+
|
17
|
+
Sass 3.3.0
|
18
|
+
|
19
|
+
### Installation
|
20
|
+
|
21
|
+
With RubyGems & Compass:
|
22
|
+
|
23
|
+
* Terminal: `gem install typey`
|
24
|
+
* config.rb: `require 'typey'`
|
25
|
+
* SCSS: `@import 'typey'`
|
26
|
+
|
27
|
+
Bower
|
28
|
+
|
29
|
+
* Terminal: `bower install typey`
|
30
|
+
* SCSS: `@import '../link_to_component_dir/typey'`
|
31
|
+
|
32
|
+
Vanilla Sass
|
33
|
+
|
34
|
+
* Terminal: 'git clone git@github.com:jptaranto/typey.git
|
35
|
+
* SCSS: `@import '../link_to_component_dir/typey/stylesheets/typey'`
|
36
|
+
|
15
37
|
### CSS units used in typey
|
16
38
|
|
17
|
-
`px`
|
39
|
+
`px`
|
40
|
+
|
41
|
+
By far the simplest unit you can use to size typography on the web. It translates very easily from mockups produced in a certain over-rated graphics suite. In typey, all base sizes are specified in `px` (or `pt`) and are automatically converted to your `$base-unit`.
|
42
|
+
|
43
|
+
`pt`
|
18
44
|
|
19
|
-
|
45
|
+
Translates equally well from design mockups as `px` but should be kept for use solely within print stylesheets. For the simplest approach when writing print stylesheets set your $base-unit as `pt` and define all base sizes as `pt`.
|
20
46
|
|
21
|
-
`rem`
|
47
|
+
`rem`
|
22
48
|
|
49
|
+
Sets `font-size` as relative to the `html` element's `font-size` and allows you to resize fonts dynamically with media queries. It has one irritating caveat: no IE8 support! Fear not, typey can help.
|
23
50
|
|
24
|
-
`em`
|
51
|
+
`em`
|
52
|
+
|
53
|
+
In the way the `rem` unit is relative to the `html` element, `em` is relative to the parent `font-size`. It is supported in all browsers and also allows you to dynamically resize fonts with media queries. It can just get severely confusing when you have various nested elements - each with an `em` `font-size`. Typey functions and mixins accept a second parameter to help with this problem.
|
25
54
|
|
26
55
|
### Getting started
|
27
56
|
|
28
|
-
Just like in compass Vertical Rhythm we define our base font size and line height first.
|
57
|
+
Just like in compass Vertical Rhythm we define our base font size and line height first. In typey, all sizes are defined in `px` or `pt` only.
|
29
58
|
|
30
59
|
```sass
|
31
60
|
$base-font-size: 16px;
|
@@ -62,7 +91,7 @@ $font-size: (
|
|
62
91
|
|
63
92
|
### Line height and font sizing examples
|
64
93
|
|
65
|
-
The simplest way to set `font-size` is via
|
94
|
+
The simplest way to set `font-size` is via the `font-size()` function.
|
66
95
|
|
67
96
|
```sass
|
68
97
|
h1 {
|
@@ -86,21 +115,67 @@ h3 {
|
|
86
115
|
}
|
87
116
|
```
|
88
117
|
|
89
|
-
If you are using rem as a base unit for its super lovely font resizing abilities `px` fallbacks are added automatically when using the `font-size()` and `line-height()` mixins. Both mixins support exactly the same parameters as their function counterparts.
|
118
|
+
If you are using rem as a base unit for its super lovely font resizing abilities, `px` fallbacks are added automatically when using the `font-size()` and `line-height()` mixins. Both mixins support exactly the same parameters as their function counterparts.
|
90
119
|
|
91
120
|
```sass
|
92
121
|
h4 {
|
93
|
-
@include font-size(
|
122
|
+
@include font-size(xl);
|
94
123
|
@include line-height(2);
|
95
124
|
}
|
96
125
|
```
|
97
126
|
|
98
|
-
When using `em` as your `$base-unit`,
|
127
|
+
When using `em` as your `$base-unit`, each function accepts a second parameter so your `em` value will be relative to it's parent or element `font-size`. The second parameter can either accept a t-shirt size or a static value for granular control.
|
128
|
+
|
129
|
+
```sass
|
130
|
+
h4 {
|
131
|
+
font-size: font-size(xl);
|
132
|
+
|
133
|
+
span {
|
134
|
+
font-size: font-size(s, xl);
|
135
|
+
line-height: line-height(2, 14px);
|
136
|
+
}
|
137
|
+
}
|
138
|
+
```
|
139
|
+
|
140
|
+
### Margin and padding examples
|
141
|
+
|
142
|
+
The same function that we have for `line-height` also exist for `margin` and `padding`, and works exactly the same way.
|
143
|
+
|
144
|
+
```sass
|
145
|
+
div {
|
146
|
+
margin-top: margin(2);
|
147
|
+
margin-right: margin(1);
|
148
|
+
margin-bottom: margin(2);
|
149
|
+
margin-left: margin(1);
|
150
|
+
}
|
151
|
+
|
152
|
+
form {
|
153
|
+
padding-top: padding(2);
|
154
|
+
padding-right: padding(1);
|
155
|
+
padding-bottom: padding(2);
|
156
|
+
padding-left: padding(1);
|
157
|
+
}
|
158
|
+
```
|
159
|
+
|
160
|
+
We also have a pair of mixins which (you guessed it!) automatically add fallback for `rem`. They also have the convenient ability to handle shorthand values for both margin and padding (and it works in exactly the same way as the CSS margin and padding property).
|
99
161
|
|
100
162
|
```sass
|
101
|
-
|
102
|
-
|
103
|
-
|
163
|
+
div {
|
164
|
+
@include margin(1 2);
|
165
|
+
@include padding(1 2);
|
166
|
+
}
|
167
|
+
```
|
168
|
+
|
169
|
+
If you are using `em`, both the `margin()` and `padding()` functions/mixins accept a second parameter.
|
170
|
+
|
171
|
+
```sass
|
172
|
+
div {
|
173
|
+
font-size: font-size(s)
|
174
|
+
|
175
|
+
span {
|
176
|
+
@include margin(1 2, s);
|
177
|
+
@include padding(1 2, s);
|
178
|
+
}
|
104
179
|
}
|
105
180
|
```
|
106
181
|
|
@@ -110,4 +185,25 @@ Grab one of the web-safe font stacks included and extend it with your own fonts.
|
|
110
185
|
|
111
186
|
```sass
|
112
187
|
$your-font-stack: extend-font-stack("Open sans", $sans-serif-stack);
|
113
|
-
```
|
188
|
+
```
|
189
|
+
|
190
|
+
If you are using a web font that has multiple different weights, you can express these as numerical values, inside a sass map. Then if things change later on, it's easy as pie to change them site-wide.
|
191
|
+
|
192
|
+
```sass
|
193
|
+
$font-weight: (
|
194
|
+
bold: 700,
|
195
|
+
normal: 400,
|
196
|
+
lighter: 200
|
197
|
+
);
|
198
|
+
```
|
199
|
+
|
200
|
+
You can then use typey's built in font-weight function to call these values in an easy and readable way.
|
201
|
+
|
202
|
+
```sass
|
203
|
+
strong {
|
204
|
+
font-weight: font-weight(bold)
|
205
|
+
}
|
206
|
+
```
|
207
|
+
|
208
|
+
|
209
|
+
*More to come soon ;)*
|
data/stylesheets/_typey.scss
CHANGED
@@ -0,0 +1,943 @@
|
|
1
|
+
{
|
2
|
+
"CodeKitInfo": "This is a CodeKit 2.x project configuration file. It is designed to sync project settings across multiple machines. MODIFYING THE CONTENTS OF THIS FILE IS A POOR LIFE DECISION. If you do so, you will likely cause CodeKit to crash. This file is not useful unless accompanied by the project that created it in CodeKit 2. This file is not backwards-compatible with CodeKit 1.x. For more information, see: http:\/\/incident57.com\/codekit",
|
3
|
+
"creatorBuild": "18493",
|
4
|
+
"files": {
|
5
|
+
"\/_typey.scss": {
|
6
|
+
"createSourceMap": 0,
|
7
|
+
"debugStyle": 0,
|
8
|
+
"decimalPrecision": 10,
|
9
|
+
"fileType": 4,
|
10
|
+
"ignore": 1,
|
11
|
+
"ignoreWasSetByUser": 0,
|
12
|
+
"inputAbbreviatedPath": "\/_typey.scss",
|
13
|
+
"outputAbbreviatedPath": "\/css\/_typey.css",
|
14
|
+
"outputPathIsOutsideProject": 0,
|
15
|
+
"outputPathIsSetByUser": 0,
|
16
|
+
"outputStyle": 0,
|
17
|
+
"shouldRunAutoprefixer": 0,
|
18
|
+
"shouldRunBless": 0,
|
19
|
+
"useLibsass": 0
|
20
|
+
},
|
21
|
+
"\/typey\/_defaults.scss": {
|
22
|
+
"createSourceMap": 0,
|
23
|
+
"debugStyle": 0,
|
24
|
+
"decimalPrecision": 10,
|
25
|
+
"fileType": 4,
|
26
|
+
"ignore": 1,
|
27
|
+
"ignoreWasSetByUser": 0,
|
28
|
+
"inputAbbreviatedPath": "\/typey\/_defaults.scss",
|
29
|
+
"outputAbbreviatedPath": "\/css\/_defaults.css",
|
30
|
+
"outputPathIsOutsideProject": 0,
|
31
|
+
"outputPathIsSetByUser": 0,
|
32
|
+
"outputStyle": 0,
|
33
|
+
"shouldRunAutoprefixer": 0,
|
34
|
+
"shouldRunBless": 0,
|
35
|
+
"useLibsass": 0
|
36
|
+
},
|
37
|
+
"\/typey\/_font-size.scss": {
|
38
|
+
"createSourceMap": 0,
|
39
|
+
"debugStyle": 0,
|
40
|
+
"decimalPrecision": 10,
|
41
|
+
"fileType": 4,
|
42
|
+
"ignore": 1,
|
43
|
+
"ignoreWasSetByUser": 0,
|
44
|
+
"inputAbbreviatedPath": "\/typey\/_font-size.scss",
|
45
|
+
"outputAbbreviatedPath": "\/css\/_font-size.css",
|
46
|
+
"outputPathIsOutsideProject": 0,
|
47
|
+
"outputPathIsSetByUser": 0,
|
48
|
+
"outputStyle": 0,
|
49
|
+
"shouldRunAutoprefixer": 0,
|
50
|
+
"shouldRunBless": 0,
|
51
|
+
"useLibsass": 0
|
52
|
+
},
|
53
|
+
"\/typey\/_font-stacks.scss": {
|
54
|
+
"createSourceMap": 0,
|
55
|
+
"debugStyle": 0,
|
56
|
+
"decimalPrecision": 10,
|
57
|
+
"fileType": 4,
|
58
|
+
"ignore": 1,
|
59
|
+
"ignoreWasSetByUser": 0,
|
60
|
+
"inputAbbreviatedPath": "\/typey\/_font-stacks.scss",
|
61
|
+
"outputAbbreviatedPath": "\/css\/_font-stacks.css",
|
62
|
+
"outputPathIsOutsideProject": 0,
|
63
|
+
"outputPathIsSetByUser": 0,
|
64
|
+
"outputStyle": 0,
|
65
|
+
"shouldRunAutoprefixer": 0,
|
66
|
+
"shouldRunBless": 0,
|
67
|
+
"useLibsass": 0
|
68
|
+
},
|
69
|
+
"\/typey\/_font-weight.scss": {
|
70
|
+
"createSourceMap": 0,
|
71
|
+
"debugStyle": 0,
|
72
|
+
"decimalPrecision": 10,
|
73
|
+
"fileType": 4,
|
74
|
+
"ignore": 1,
|
75
|
+
"ignoreWasSetByUser": 0,
|
76
|
+
"inputAbbreviatedPath": "\/typey\/_font-weight.scss",
|
77
|
+
"outputAbbreviatedPath": "\/css\/_font-weight.css",
|
78
|
+
"outputPathIsOutsideProject": 0,
|
79
|
+
"outputPathIsSetByUser": 0,
|
80
|
+
"outputStyle": 0,
|
81
|
+
"shouldRunAutoprefixer": 0,
|
82
|
+
"shouldRunBless": 0,
|
83
|
+
"useLibsass": 0
|
84
|
+
},
|
85
|
+
"\/typey\/_helpers.scss": {
|
86
|
+
"createSourceMap": 0,
|
87
|
+
"debugStyle": 0,
|
88
|
+
"decimalPrecision": 10,
|
89
|
+
"fileType": 4,
|
90
|
+
"ignore": 1,
|
91
|
+
"ignoreWasSetByUser": 0,
|
92
|
+
"inputAbbreviatedPath": "\/typey\/_helpers.scss",
|
93
|
+
"outputAbbreviatedPath": "\/css\/_helpers.css",
|
94
|
+
"outputPathIsOutsideProject": 0,
|
95
|
+
"outputPathIsSetByUser": 0,
|
96
|
+
"outputStyle": 0,
|
97
|
+
"shouldRunAutoprefixer": 0,
|
98
|
+
"shouldRunBless": 0,
|
99
|
+
"useLibsass": 0
|
100
|
+
},
|
101
|
+
"\/typey\/_line-height.scss": {
|
102
|
+
"createSourceMap": 0,
|
103
|
+
"debugStyle": 0,
|
104
|
+
"decimalPrecision": 10,
|
105
|
+
"fileType": 4,
|
106
|
+
"ignore": 1,
|
107
|
+
"ignoreWasSetByUser": 0,
|
108
|
+
"inputAbbreviatedPath": "\/typey\/_line-height.scss",
|
109
|
+
"outputAbbreviatedPath": "\/css\/_line-height.css",
|
110
|
+
"outputPathIsOutsideProject": 0,
|
111
|
+
"outputPathIsSetByUser": 0,
|
112
|
+
"outputStyle": 0,
|
113
|
+
"shouldRunAutoprefixer": 0,
|
114
|
+
"shouldRunBless": 0,
|
115
|
+
"useLibsass": 0
|
116
|
+
}
|
117
|
+
},
|
118
|
+
"hooks": [
|
119
|
+
],
|
120
|
+
"lastSavedByUser": "jack",
|
121
|
+
"manualImportLinks": {
|
122
|
+
},
|
123
|
+
"projectAttributes": {
|
124
|
+
"bowerAbbreviatedPath": "",
|
125
|
+
"displayValue": "stylesheets",
|
126
|
+
"displayValueWasSetByUser": 0,
|
127
|
+
"iconImageName": "harddrive_darkGray"
|
128
|
+
},
|
129
|
+
"projectSettings": {
|
130
|
+
"alwaysUseExternalServer": 0,
|
131
|
+
"animateCSSInjections": 1,
|
132
|
+
"autoApplyPSLanguageSettingsStyle": 0,
|
133
|
+
"autoprefixerBrowserString": "> 1%, last 2 versions, Firefox ESR, Opera 12.1",
|
134
|
+
"autoSyncProjectSettingsFile": 1,
|
135
|
+
"browserRefreshDelay": 0,
|
136
|
+
"coffeeAutoOutputPathEnabled": 1,
|
137
|
+
"coffeeAutoOutputPathFilenamePattern": "*.js",
|
138
|
+
"coffeeAutoOutputPathRelativePath": "",
|
139
|
+
"coffeeAutoOutputPathReplace1": "",
|
140
|
+
"coffeeAutoOutputPathReplace2": "",
|
141
|
+
"coffeeAutoOutputPathStyle": 0,
|
142
|
+
"coffeeCreateSourceMap": 0,
|
143
|
+
"coffeeLintFlags2": {
|
144
|
+
"arrow_spacing": {
|
145
|
+
"active": 0,
|
146
|
+
"flagValue": -1
|
147
|
+
},
|
148
|
+
"camel_case_classes": {
|
149
|
+
"active": 1,
|
150
|
+
"flagValue": -1
|
151
|
+
},
|
152
|
+
"colon_assignment_spacing": {
|
153
|
+
"active": 0,
|
154
|
+
"flagValue": 1
|
155
|
+
},
|
156
|
+
"cyclomatic_complexity": {
|
157
|
+
"active": 0,
|
158
|
+
"flagValue": 10
|
159
|
+
},
|
160
|
+
"duplicate_key": {
|
161
|
+
"active": 1,
|
162
|
+
"flagValue": -1
|
163
|
+
},
|
164
|
+
"empty_constructor_needs_parens": {
|
165
|
+
"active": 0,
|
166
|
+
"flagValue": -1
|
167
|
+
},
|
168
|
+
"ensure_comprehensions": {
|
169
|
+
"active": 1,
|
170
|
+
"flagValue": -1
|
171
|
+
},
|
172
|
+
"indentation": {
|
173
|
+
"active": 1,
|
174
|
+
"flagValue": 2
|
175
|
+
},
|
176
|
+
"line_endings": {
|
177
|
+
"active": 0,
|
178
|
+
"flagValue": 0
|
179
|
+
},
|
180
|
+
"max_line_length": {
|
181
|
+
"active": 0,
|
182
|
+
"flagValue": 150
|
183
|
+
},
|
184
|
+
"missing_fat_arrows": {
|
185
|
+
"active": 0,
|
186
|
+
"flagValue": -1
|
187
|
+
},
|
188
|
+
"newlines_after_classes": {
|
189
|
+
"active": 0,
|
190
|
+
"flagValue": 3
|
191
|
+
},
|
192
|
+
"no_backticks": {
|
193
|
+
"active": 1,
|
194
|
+
"flagValue": -1
|
195
|
+
},
|
196
|
+
"no_debugger": {
|
197
|
+
"active": 1,
|
198
|
+
"flagValue": -1
|
199
|
+
},
|
200
|
+
"no_empty_functions": {
|
201
|
+
"active": 0,
|
202
|
+
"flagValue": -1
|
203
|
+
},
|
204
|
+
"no_empty_param_list": {
|
205
|
+
"active": 0,
|
206
|
+
"flagValue": -1
|
207
|
+
},
|
208
|
+
"no_implicit_braces": {
|
209
|
+
"active": 1,
|
210
|
+
"flagValue": -1
|
211
|
+
},
|
212
|
+
"no_implicit_parens": {
|
213
|
+
"active": 0,
|
214
|
+
"flagValue": -1
|
215
|
+
},
|
216
|
+
"no_interpolation_in_single_quotes": {
|
217
|
+
"active": 0,
|
218
|
+
"flagValue": -1
|
219
|
+
},
|
220
|
+
"no_plusplus": {
|
221
|
+
"active": 0,
|
222
|
+
"flagValue": -1
|
223
|
+
},
|
224
|
+
"no_stand_alone_at": {
|
225
|
+
"active": 1,
|
226
|
+
"flagValue": -1
|
227
|
+
},
|
228
|
+
"no_tabs": {
|
229
|
+
"active": 1,
|
230
|
+
"flagValue": -1
|
231
|
+
},
|
232
|
+
"no_throwing_strings": {
|
233
|
+
"active": 1,
|
234
|
+
"flagValue": -1
|
235
|
+
},
|
236
|
+
"no_trailing_semicolons": {
|
237
|
+
"active": 1,
|
238
|
+
"flagValue": -1
|
239
|
+
},
|
240
|
+
"no_trailing_whitespace": {
|
241
|
+
"active": 1,
|
242
|
+
"flagValue": -1
|
243
|
+
},
|
244
|
+
"no_unnecessary_double_quotes": {
|
245
|
+
"active": 0,
|
246
|
+
"flagValue": -1
|
247
|
+
},
|
248
|
+
"no_unnecessary_fat_arrows": {
|
249
|
+
"active": 1,
|
250
|
+
"flagValue": -1
|
251
|
+
},
|
252
|
+
"non_empty_constructor_needs_parens": {
|
253
|
+
"active": 0,
|
254
|
+
"flagValue": -1
|
255
|
+
},
|
256
|
+
"prefer_english_operator": {
|
257
|
+
"active": 0,
|
258
|
+
"flagValue": -1
|
259
|
+
},
|
260
|
+
"space_operators": {
|
261
|
+
"active": 0,
|
262
|
+
"flagValue": -1
|
263
|
+
},
|
264
|
+
"spacing_after_comma": {
|
265
|
+
"active": 1,
|
266
|
+
"flagValue": -1
|
267
|
+
}
|
268
|
+
},
|
269
|
+
"coffeeMinifyOutput": 1,
|
270
|
+
"coffeeOutputStyle": 0,
|
271
|
+
"coffeeSyntaxCheckerStyle": 1,
|
272
|
+
"externalServerAddress": "http:\/\/localhost:8888",
|
273
|
+
"externalServerPreviewPathAddition": "",
|
274
|
+
"genericWebpageFileExtensionsString": "html, htm, shtml, shtm, xhtml, php, jsp, asp, aspx, erb, ctp",
|
275
|
+
"hamlAutoOutputPathEnabled": 1,
|
276
|
+
"hamlAutoOutputPathFilenamePattern": "*.html",
|
277
|
+
"hamlAutoOutputPathRelativePath": "",
|
278
|
+
"hamlAutoOutputPathReplace1": "",
|
279
|
+
"hamlAutoOutputPathReplace2": "",
|
280
|
+
"hamlAutoOutputPathStyle": 0,
|
281
|
+
"hamlEscapeHTMLCharacters": 0,
|
282
|
+
"hamlNoEscapeInAttributes": 0,
|
283
|
+
"hamlOutputFormat": 2,
|
284
|
+
"hamlOutputStyle": 0,
|
285
|
+
"hamlUseCDATA": 0,
|
286
|
+
"hamlUseDoubleQuotes": 0,
|
287
|
+
"hamlUseUnixNewlines": 0,
|
288
|
+
"jadeAutoOutputPathEnabled": 1,
|
289
|
+
"jadeAutoOutputPathFilenamePattern": "*.html",
|
290
|
+
"jadeAutoOutputPathRelativePath": "",
|
291
|
+
"jadeAutoOutputPathReplace1": "",
|
292
|
+
"jadeAutoOutputPathReplace2": "",
|
293
|
+
"jadeAutoOutputPathStyle": 0,
|
294
|
+
"jadeCompileDebug": 1,
|
295
|
+
"jadeOutputStyle": 0,
|
296
|
+
"javascriptAutoOutputPathEnabled": 1,
|
297
|
+
"javascriptAutoOutputPathFilenamePattern": "*-min.js",
|
298
|
+
"javascriptAutoOutputPathRelativePath": "\/min",
|
299
|
+
"javascriptAutoOutputPathReplace1": "",
|
300
|
+
"javascriptAutoOutputPathReplace2": "",
|
301
|
+
"javascriptAutoOutputPathStyle": 2,
|
302
|
+
"javascriptCreateSourceMap": 1,
|
303
|
+
"javascriptOutputStyle": 1,
|
304
|
+
"javascriptSyntaxCheckerStyle": 1,
|
305
|
+
"jsCheckerReservedNamesString": "",
|
306
|
+
"jsHintFlags2": {
|
307
|
+
"asi": {
|
308
|
+
"active": 0,
|
309
|
+
"flagValue": -1
|
310
|
+
},
|
311
|
+
"bitwise": {
|
312
|
+
"active": 1,
|
313
|
+
"flagValue": -1
|
314
|
+
},
|
315
|
+
"boss": {
|
316
|
+
"active": 0,
|
317
|
+
"flagValue": -1
|
318
|
+
},
|
319
|
+
"browser": {
|
320
|
+
"active": 1,
|
321
|
+
"flagValue": -1
|
322
|
+
},
|
323
|
+
"browserify": {
|
324
|
+
"active": 0,
|
325
|
+
"flagValue": -1
|
326
|
+
},
|
327
|
+
"camelcase": {
|
328
|
+
"active": 0,
|
329
|
+
"flagValue": -1
|
330
|
+
},
|
331
|
+
"couch": {
|
332
|
+
"active": 0,
|
333
|
+
"flagValue": -1
|
334
|
+
},
|
335
|
+
"curly": {
|
336
|
+
"active": 1,
|
337
|
+
"flagValue": -1
|
338
|
+
},
|
339
|
+
"debug": {
|
340
|
+
"active": 0,
|
341
|
+
"flagValue": -1
|
342
|
+
},
|
343
|
+
"devel": {
|
344
|
+
"active": 0,
|
345
|
+
"flagValue": -1
|
346
|
+
},
|
347
|
+
"dojo": {
|
348
|
+
"active": 0,
|
349
|
+
"flagValue": -1
|
350
|
+
},
|
351
|
+
"elision": {
|
352
|
+
"active": 1,
|
353
|
+
"flagValue": -1
|
354
|
+
},
|
355
|
+
"eqeqeq": {
|
356
|
+
"active": 1,
|
357
|
+
"flagValue": -1
|
358
|
+
},
|
359
|
+
"eqnull": {
|
360
|
+
"active": 0,
|
361
|
+
"flagValue": -1
|
362
|
+
},
|
363
|
+
"es3": {
|
364
|
+
"active": 0,
|
365
|
+
"flagValue": -1
|
366
|
+
},
|
367
|
+
"esnext": {
|
368
|
+
"active": 0,
|
369
|
+
"flagValue": -1
|
370
|
+
},
|
371
|
+
"evil": {
|
372
|
+
"active": 0,
|
373
|
+
"flagValue": -1
|
374
|
+
},
|
375
|
+
"expr": {
|
376
|
+
"active": 0,
|
377
|
+
"flagValue": -1
|
378
|
+
},
|
379
|
+
"forin": {
|
380
|
+
"active": 0,
|
381
|
+
"flagValue": -1
|
382
|
+
},
|
383
|
+
"freeze": {
|
384
|
+
"active": 1,
|
385
|
+
"flagValue": -1
|
386
|
+
},
|
387
|
+
"funcscope": {
|
388
|
+
"active": 0,
|
389
|
+
"flagValue": -1
|
390
|
+
},
|
391
|
+
"globalstrict": {
|
392
|
+
"active": 0,
|
393
|
+
"flagValue": -1
|
394
|
+
},
|
395
|
+
"immed": {
|
396
|
+
"active": 0,
|
397
|
+
"flagValue": -1
|
398
|
+
},
|
399
|
+
"indent": {
|
400
|
+
"active": 0,
|
401
|
+
"flagValue": 4
|
402
|
+
},
|
403
|
+
"iterator": {
|
404
|
+
"active": 0,
|
405
|
+
"flagValue": -1
|
406
|
+
},
|
407
|
+
"jasmine": {
|
408
|
+
"active": 0,
|
409
|
+
"flagValue": -1
|
410
|
+
},
|
411
|
+
"jquery": {
|
412
|
+
"active": 1,
|
413
|
+
"flagValue": -1
|
414
|
+
},
|
415
|
+
"lastsemic": {
|
416
|
+
"active": 0,
|
417
|
+
"flagValue": -1
|
418
|
+
},
|
419
|
+
"latedef": {
|
420
|
+
"active": 1,
|
421
|
+
"flagValue": -1
|
422
|
+
},
|
423
|
+
"laxbreak": {
|
424
|
+
"active": 0,
|
425
|
+
"flagValue": -1
|
426
|
+
},
|
427
|
+
"laxcomma": {
|
428
|
+
"active": 0,
|
429
|
+
"flagValue": -1
|
430
|
+
},
|
431
|
+
"loopfunc": {
|
432
|
+
"active": 0,
|
433
|
+
"flagValue": -1
|
434
|
+
},
|
435
|
+
"maxcomplexity": {
|
436
|
+
"active": 0,
|
437
|
+
"flagValue": 10
|
438
|
+
},
|
439
|
+
"maxdepth": {
|
440
|
+
"active": 0,
|
441
|
+
"flagValue": 3
|
442
|
+
},
|
443
|
+
"maxlen": {
|
444
|
+
"active": 0,
|
445
|
+
"flagValue": 150
|
446
|
+
},
|
447
|
+
"maxparams": {
|
448
|
+
"active": 0,
|
449
|
+
"flagValue": 3
|
450
|
+
},
|
451
|
+
"maxstatements": {
|
452
|
+
"active": 0,
|
453
|
+
"flagValue": 4
|
454
|
+
},
|
455
|
+
"mocha": {
|
456
|
+
"active": 0,
|
457
|
+
"flagValue": -1
|
458
|
+
},
|
459
|
+
"mootools": {
|
460
|
+
"active": 0,
|
461
|
+
"flagValue": -1
|
462
|
+
},
|
463
|
+
"moz": {
|
464
|
+
"active": 0,
|
465
|
+
"flagValue": -1
|
466
|
+
},
|
467
|
+
"multistr": {
|
468
|
+
"active": 0,
|
469
|
+
"flagValue": -1
|
470
|
+
},
|
471
|
+
"newcap": {
|
472
|
+
"active": 1,
|
473
|
+
"flagValue": -1
|
474
|
+
},
|
475
|
+
"noarg": {
|
476
|
+
"active": 1,
|
477
|
+
"flagValue": -1
|
478
|
+
},
|
479
|
+
"node": {
|
480
|
+
"active": 0,
|
481
|
+
"flagValue": -1
|
482
|
+
},
|
483
|
+
"noempty": {
|
484
|
+
"active": 0,
|
485
|
+
"flagValue": -1
|
486
|
+
},
|
487
|
+
"nonbsp": {
|
488
|
+
"active": 0,
|
489
|
+
"flagValue": -1
|
490
|
+
},
|
491
|
+
"nonew": {
|
492
|
+
"active": 1,
|
493
|
+
"flagValue": -1
|
494
|
+
},
|
495
|
+
"nonstandard": {
|
496
|
+
"active": 0,
|
497
|
+
"flagValue": -1
|
498
|
+
},
|
499
|
+
"notypeof": {
|
500
|
+
"active": 1,
|
501
|
+
"flagValue": -1
|
502
|
+
},
|
503
|
+
"noyield": {
|
504
|
+
"active": 0,
|
505
|
+
"flagValue": -1
|
506
|
+
},
|
507
|
+
"onecase": {
|
508
|
+
"active": 0,
|
509
|
+
"flagValue": -1
|
510
|
+
},
|
511
|
+
"phantom": {
|
512
|
+
"active": 0,
|
513
|
+
"flagValue": -1
|
514
|
+
},
|
515
|
+
"plusplus": {
|
516
|
+
"active": 0,
|
517
|
+
"flagValue": -1
|
518
|
+
},
|
519
|
+
"proto": {
|
520
|
+
"active": 0,
|
521
|
+
"flagValue": -1
|
522
|
+
},
|
523
|
+
"prototypejs": {
|
524
|
+
"active": 0,
|
525
|
+
"flagValue": -1
|
526
|
+
},
|
527
|
+
"qunit": {
|
528
|
+
"active": 0,
|
529
|
+
"flagValue": -1
|
530
|
+
},
|
531
|
+
"regexp": {
|
532
|
+
"active": 1,
|
533
|
+
"flagValue": -1
|
534
|
+
},
|
535
|
+
"rhino": {
|
536
|
+
"active": 0,
|
537
|
+
"flagValue": -1
|
538
|
+
},
|
539
|
+
"scripturl": {
|
540
|
+
"active": 0,
|
541
|
+
"flagValue": -1
|
542
|
+
},
|
543
|
+
"shadow": {
|
544
|
+
"active": 0,
|
545
|
+
"flagValue": -1
|
546
|
+
},
|
547
|
+
"shelljs": {
|
548
|
+
"active": 0,
|
549
|
+
"flagValue": -1
|
550
|
+
},
|
551
|
+
"singleGroups": {
|
552
|
+
"active": 0,
|
553
|
+
"flagValue": -1
|
554
|
+
},
|
555
|
+
"strict": {
|
556
|
+
"active": 0,
|
557
|
+
"flagValue": -1
|
558
|
+
},
|
559
|
+
"sub": {
|
560
|
+
"active": 0,
|
561
|
+
"flagValue": -1
|
562
|
+
},
|
563
|
+
"supernew": {
|
564
|
+
"active": 0,
|
565
|
+
"flagValue": -1
|
566
|
+
},
|
567
|
+
"typed": {
|
568
|
+
"active": 0,
|
569
|
+
"flagValue": -1
|
570
|
+
},
|
571
|
+
"undef": {
|
572
|
+
"active": 1,
|
573
|
+
"flagValue": -1
|
574
|
+
},
|
575
|
+
"unused": {
|
576
|
+
"active": 1,
|
577
|
+
"flagValue": -1
|
578
|
+
},
|
579
|
+
"withstmt": {
|
580
|
+
"active": 0,
|
581
|
+
"flagValue": -1
|
582
|
+
},
|
583
|
+
"worker": {
|
584
|
+
"active": 0,
|
585
|
+
"flagValue": -1
|
586
|
+
},
|
587
|
+
"wsh": {
|
588
|
+
"active": 0,
|
589
|
+
"flagValue": -1
|
590
|
+
},
|
591
|
+
"yui": {
|
592
|
+
"active": 0,
|
593
|
+
"flagValue": -1
|
594
|
+
}
|
595
|
+
},
|
596
|
+
"jsLintFlags2": {
|
597
|
+
"ass": {
|
598
|
+
"active": 0,
|
599
|
+
"flagValue": -1
|
600
|
+
},
|
601
|
+
"bitwise": {
|
602
|
+
"active": 0,
|
603
|
+
"flagValue": -1
|
604
|
+
},
|
605
|
+
"browser": {
|
606
|
+
"active": 1,
|
607
|
+
"flagValue": -1
|
608
|
+
},
|
609
|
+
"closure": {
|
610
|
+
"active": 0,
|
611
|
+
"flagValue": -1
|
612
|
+
},
|
613
|
+
"continue": {
|
614
|
+
"active": 0,
|
615
|
+
"flagValue": -1
|
616
|
+
},
|
617
|
+
"debug": {
|
618
|
+
"active": 0,
|
619
|
+
"flagValue": -1
|
620
|
+
},
|
621
|
+
"devel": {
|
622
|
+
"active": 0,
|
623
|
+
"flagValue": -1
|
624
|
+
},
|
625
|
+
"eqeq": {
|
626
|
+
"active": 0,
|
627
|
+
"flagValue": -1
|
628
|
+
},
|
629
|
+
"evil": {
|
630
|
+
"active": 0,
|
631
|
+
"flagValue": -1
|
632
|
+
},
|
633
|
+
"forin": {
|
634
|
+
"active": 0,
|
635
|
+
"flagValue": -1
|
636
|
+
},
|
637
|
+
"indent": {
|
638
|
+
"active": 0,
|
639
|
+
"flagValue": 4
|
640
|
+
},
|
641
|
+
"maxlen": {
|
642
|
+
"active": 0,
|
643
|
+
"flagValue": 150
|
644
|
+
},
|
645
|
+
"newcap": {
|
646
|
+
"active": 0,
|
647
|
+
"flagValue": -1
|
648
|
+
},
|
649
|
+
"node": {
|
650
|
+
"active": 0,
|
651
|
+
"flagValue": -1
|
652
|
+
},
|
653
|
+
"nomen": {
|
654
|
+
"active": 0,
|
655
|
+
"flagValue": -1
|
656
|
+
},
|
657
|
+
"plusplus": {
|
658
|
+
"active": 0,
|
659
|
+
"flagValue": -1
|
660
|
+
},
|
661
|
+
"properties": {
|
662
|
+
"active": 0,
|
663
|
+
"flagValue": -1
|
664
|
+
},
|
665
|
+
"regexp": {
|
666
|
+
"active": 0,
|
667
|
+
"flagValue": -1
|
668
|
+
},
|
669
|
+
"rhino": {
|
670
|
+
"active": 0,
|
671
|
+
"flagValue": -1
|
672
|
+
},
|
673
|
+
"sloppy": {
|
674
|
+
"active": 0,
|
675
|
+
"flagValue": -1
|
676
|
+
},
|
677
|
+
"stupid": {
|
678
|
+
"active": 0,
|
679
|
+
"flagValue": -1
|
680
|
+
},
|
681
|
+
"sub": {
|
682
|
+
"active": 0,
|
683
|
+
"flagValue": -1
|
684
|
+
},
|
685
|
+
"todo": {
|
686
|
+
"active": 0,
|
687
|
+
"flagValue": -1
|
688
|
+
},
|
689
|
+
"unparam": {
|
690
|
+
"active": 0,
|
691
|
+
"flagValue": -1
|
692
|
+
},
|
693
|
+
"vars": {
|
694
|
+
"active": 0,
|
695
|
+
"flagValue": -1
|
696
|
+
},
|
697
|
+
"white": {
|
698
|
+
"active": 0,
|
699
|
+
"flagValue": -1
|
700
|
+
}
|
701
|
+
},
|
702
|
+
"kitAutoOutputPathEnabled": 1,
|
703
|
+
"kitAutoOutputPathFilenamePattern": "*.html",
|
704
|
+
"kitAutoOutputPathRelativePath": "",
|
705
|
+
"kitAutoOutputPathReplace1": "",
|
706
|
+
"kitAutoOutputPathReplace2": "",
|
707
|
+
"kitAutoOutputPathStyle": 0,
|
708
|
+
"lessAllowInsecureImports": 0,
|
709
|
+
"lessAutoOutputPathEnabled": 1,
|
710
|
+
"lessAutoOutputPathFilenamePattern": "*.css",
|
711
|
+
"lessAutoOutputPathRelativePath": "..\/css",
|
712
|
+
"lessAutoOutputPathReplace1": "less",
|
713
|
+
"lessAutoOutputPathReplace2": "css",
|
714
|
+
"lessAutoOutputPathStyle": 2,
|
715
|
+
"lessCreateSourceMap": 0,
|
716
|
+
"lessDisableJavascript": 0,
|
717
|
+
"lessIeCompatibility": 1,
|
718
|
+
"lessOutputStyle": 0,
|
719
|
+
"lessRelativeURLS": 0,
|
720
|
+
"lessStrictImports": 0,
|
721
|
+
"lessStrictMath": 0,
|
722
|
+
"lessStrictUnits": 0,
|
723
|
+
"markdownAutoOutputPathEnabled": 1,
|
724
|
+
"markdownAutoOutputPathFilenamePattern": "*.html",
|
725
|
+
"markdownAutoOutputPathRelativePath": "",
|
726
|
+
"markdownAutoOutputPathReplace1": "",
|
727
|
+
"markdownAutoOutputPathReplace2": "",
|
728
|
+
"markdownAutoOutputPathStyle": 0,
|
729
|
+
"markdownEnableFootnotes": 0,
|
730
|
+
"markdownEnableSmartyPants": 1,
|
731
|
+
"markdownExpandTabs": 1,
|
732
|
+
"reloadFileURLs": 0,
|
733
|
+
"sassAutoOutputPathEnabled": 1,
|
734
|
+
"sassAutoOutputPathFilenamePattern": "*.css",
|
735
|
+
"sassAutoOutputPathRelativePath": "..\/css",
|
736
|
+
"sassAutoOutputPathReplace1": "sass",
|
737
|
+
"sassAutoOutputPathReplace2": "css",
|
738
|
+
"sassAutoOutputPathStyle": 2,
|
739
|
+
"sassCreateSourceMap": 0,
|
740
|
+
"sassDebugStyle": 0,
|
741
|
+
"sassDecimalPrecision": 10,
|
742
|
+
"sassOutputStyle": 0,
|
743
|
+
"sassUseLibsass": 0,
|
744
|
+
"shouldRunAutoprefixer": 0,
|
745
|
+
"shouldRunBless": 0,
|
746
|
+
"skippedItemsString": ".svn, .git, .hg, log, _logs, _cache, cache, logs, node_modules",
|
747
|
+
"slimAutoOutputPathEnabled": 1,
|
748
|
+
"slimAutoOutputPathFilenamePattern": "*.html",
|
749
|
+
"slimAutoOutputPathRelativePath": "",
|
750
|
+
"slimAutoOutputPathReplace1": "",
|
751
|
+
"slimAutoOutputPathReplace2": "",
|
752
|
+
"slimAutoOutputPathStyle": 0,
|
753
|
+
"slimCompileOnly": 0,
|
754
|
+
"slimLogicless": 0,
|
755
|
+
"slimOutputFormat": 0,
|
756
|
+
"slimOutputStyle": 1,
|
757
|
+
"slimRailsCompatible": 0,
|
758
|
+
"stylusAutoOutputPathEnabled": 1,
|
759
|
+
"stylusAutoOutputPathFilenamePattern": "*.css",
|
760
|
+
"stylusAutoOutputPathRelativePath": "..\/css",
|
761
|
+
"stylusAutoOutputPathReplace1": "stylus",
|
762
|
+
"stylusAutoOutputPathReplace2": "css",
|
763
|
+
"stylusAutoOutputPathStyle": 2,
|
764
|
+
"stylusCreateSourceMap": 0,
|
765
|
+
"stylusDebugStyle": 0,
|
766
|
+
"stylusImportCSS": 0,
|
767
|
+
"stylusOutputStyle": 0,
|
768
|
+
"stylusResolveRelativeURLS": 0,
|
769
|
+
"typescriptAutoOutputPathEnabled": 1,
|
770
|
+
"typescriptAutoOutputPathFilenamePattern": "*.js",
|
771
|
+
"typescriptAutoOutputPathRelativePath": "\/js",
|
772
|
+
"typescriptAutoOutputPathReplace1": "",
|
773
|
+
"typescriptAutoOutputPathReplace2": "",
|
774
|
+
"typescriptAutoOutputPathStyle": 2,
|
775
|
+
"typescriptCreateDeclarationFile": 0,
|
776
|
+
"typescriptCreateSourceMap": 0,
|
777
|
+
"typescriptMinifyOutput": 0,
|
778
|
+
"typescriptModuleType": 0,
|
779
|
+
"typescriptNoImplicitAny": 0,
|
780
|
+
"typescriptPreserveConstEnums": 0,
|
781
|
+
"typescriptRemoveComments": 0,
|
782
|
+
"typescriptSuppressImplicitAnyIndexErrors": 0,
|
783
|
+
"typescriptTargetECMAVersion": 0,
|
784
|
+
"uglifyDefinesString": "",
|
785
|
+
"uglifyFlags2": {
|
786
|
+
"ascii-only": {
|
787
|
+
"active": 0,
|
788
|
+
"flagValue": -1
|
789
|
+
},
|
790
|
+
"booleans": {
|
791
|
+
"active": 1,
|
792
|
+
"flagValue": -1
|
793
|
+
},
|
794
|
+
"bracketize": {
|
795
|
+
"active": 0,
|
796
|
+
"flagValue": -1
|
797
|
+
},
|
798
|
+
"cascade": {
|
799
|
+
"active": 1,
|
800
|
+
"flagValue": -1
|
801
|
+
},
|
802
|
+
"comments": {
|
803
|
+
"active": 1,
|
804
|
+
"flagValue": -1
|
805
|
+
},
|
806
|
+
"comparisons": {
|
807
|
+
"active": 1,
|
808
|
+
"flagValue": -1
|
809
|
+
},
|
810
|
+
"compress": {
|
811
|
+
"active": 1,
|
812
|
+
"flagValue": -1
|
813
|
+
},
|
814
|
+
"conditionals": {
|
815
|
+
"active": 1,
|
816
|
+
"flagValue": -1
|
817
|
+
},
|
818
|
+
"dead_code": {
|
819
|
+
"active": 0,
|
820
|
+
"flagValue": -1
|
821
|
+
},
|
822
|
+
"drop_console": {
|
823
|
+
"active": 0,
|
824
|
+
"flagValue": -1
|
825
|
+
},
|
826
|
+
"drop_debugger": {
|
827
|
+
"active": 1,
|
828
|
+
"flagValue": -1
|
829
|
+
},
|
830
|
+
"eval": {
|
831
|
+
"active": 0,
|
832
|
+
"flagValue": -1
|
833
|
+
},
|
834
|
+
"evaluate": {
|
835
|
+
"active": 1,
|
836
|
+
"flagValue": -1
|
837
|
+
},
|
838
|
+
"hoist_funs": {
|
839
|
+
"active": 1,
|
840
|
+
"flagValue": -1
|
841
|
+
},
|
842
|
+
"hoist_vars": {
|
843
|
+
"active": 0,
|
844
|
+
"flagValue": -1
|
845
|
+
},
|
846
|
+
"if_return": {
|
847
|
+
"active": 1,
|
848
|
+
"flagValue": -1
|
849
|
+
},
|
850
|
+
"indent-level": {
|
851
|
+
"active": 0,
|
852
|
+
"flagValue": 4
|
853
|
+
},
|
854
|
+
"indent-start": {
|
855
|
+
"active": 0,
|
856
|
+
"flagValue": 0
|
857
|
+
},
|
858
|
+
"inline-script": {
|
859
|
+
"active": 0,
|
860
|
+
"flagValue": -1
|
861
|
+
},
|
862
|
+
"join_vars": {
|
863
|
+
"active": 1,
|
864
|
+
"flagValue": -1
|
865
|
+
},
|
866
|
+
"keep_fargs": {
|
867
|
+
"active": 0,
|
868
|
+
"flagValue": -1
|
869
|
+
},
|
870
|
+
"loops": {
|
871
|
+
"active": 1,
|
872
|
+
"flagValue": -1
|
873
|
+
},
|
874
|
+
"mangle": {
|
875
|
+
"active": 1,
|
876
|
+
"flagValue": -1
|
877
|
+
},
|
878
|
+
"max-line-len": {
|
879
|
+
"active": 1,
|
880
|
+
"flagValue": 32000
|
881
|
+
},
|
882
|
+
"negate_iife": {
|
883
|
+
"active": 1,
|
884
|
+
"flagValue": -1
|
885
|
+
},
|
886
|
+
"properties": {
|
887
|
+
"active": 1,
|
888
|
+
"flagValue": -1
|
889
|
+
},
|
890
|
+
"pure_getters": {
|
891
|
+
"active": 0,
|
892
|
+
"flagValue": -1
|
893
|
+
},
|
894
|
+
"quote-keys": {
|
895
|
+
"active": 0,
|
896
|
+
"flagValue": -1
|
897
|
+
},
|
898
|
+
"screw-ie8": {
|
899
|
+
"active": 0,
|
900
|
+
"flagValue": -1
|
901
|
+
},
|
902
|
+
"semicolons": {
|
903
|
+
"active": 1,
|
904
|
+
"flagValue": -1
|
905
|
+
},
|
906
|
+
"sequences": {
|
907
|
+
"active": 1,
|
908
|
+
"flagValue": -1
|
909
|
+
},
|
910
|
+
"sort": {
|
911
|
+
"active": 0,
|
912
|
+
"flagValue": -1
|
913
|
+
},
|
914
|
+
"space-colon": {
|
915
|
+
"active": 1,
|
916
|
+
"flagValue": -1
|
917
|
+
},
|
918
|
+
"toplevel": {
|
919
|
+
"active": 0,
|
920
|
+
"flagValue": -1
|
921
|
+
},
|
922
|
+
"unsafe": {
|
923
|
+
"active": 0,
|
924
|
+
"flagValue": -1
|
925
|
+
},
|
926
|
+
"unused": {
|
927
|
+
"active": 0,
|
928
|
+
"flagValue": -1
|
929
|
+
},
|
930
|
+
"warnings": {
|
931
|
+
"active": 0,
|
932
|
+
"flagValue": -1
|
933
|
+
},
|
934
|
+
"width": {
|
935
|
+
"active": 1,
|
936
|
+
"flagValue": 80
|
937
|
+
}
|
938
|
+
},
|
939
|
+
"uglifyReservedNamesString": "$",
|
940
|
+
"websiteRelativeRoot": ""
|
941
|
+
},
|
942
|
+
"settingsFileVersion": "2"
|
943
|
+
}
|