MathSass 0.9.3 → 0.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/README.md +5 -5
- data/dist/{_MathSass.scss → _mathsass.scss} +11 -7
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NTY3YmNkMThlMGJhM2JhYjhhMGRkNGFjNDVhNDhhMGE4OGNjOGEyZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
M2JhZTBjOGNjNzg1OTU1ZmNmNWM0ODM3OGJlYzMyMDVmMmY3MmNlMg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZDIxZmI5YTgxMjNlOGI0OTY1MmExYmFjYWEzYmY3ZjEwYjFiMjMzYzhjYWUx
|
10
|
+
Zjc5Yjk2MTNhOTY2YWYyNWIyZWUyNDZhNWNhYWQzNTg0ODhjNzQyMDNjNzg0
|
11
|
+
NTQ5ZGFiZDQ0ZmQ0ZDZjYTViZTU3YjhkODQ1NzI1ZmZkNDAyODc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OWVhOTI5MDI4ZGRkNmM3NGI3YzBlYWZkNTJiZmQ5NWMxMDU1MGY1ZmZmNjZh
|
14
|
+
NTM5NjQxYzY2YmMzNWI2ZWM4YTc1Mjc3ODE0NTViZWUxZGE2YTY0ZDNjZDBi
|
15
|
+
MGY2ODI0OTg3NzY1MDhlOTJiM2MxOTQ3M2RhNDk4YjU5MjNjYWE=
|
data/README.md
CHANGED
@@ -24,10 +24,10 @@ npm install mathsass --save-dev
|
|
24
24
|
|
25
25
|
## Usage
|
26
26
|
|
27
|
-
Import `dist/
|
27
|
+
Import `dist/mathsass.scss` partial to the Sass document.
|
28
28
|
|
29
29
|
```scss
|
30
|
-
@import "path/to/dist/
|
30
|
+
@import "path/to/dist/mathsass";
|
31
31
|
|
32
32
|
.content {
|
33
33
|
height: 200px;
|
@@ -35,9 +35,9 @@ Import `dist/MathSass.scss` partial to the Sass document.
|
|
35
35
|
}
|
36
36
|
```
|
37
37
|
|
38
|
-
If you installed via Npm the path will be: `node_modules/mathsass/dist/
|
38
|
+
If you installed via Npm the path will be: `node_modules/mathsass/dist/mathsass`
|
39
39
|
|
40
|
-
If you installed via Bower the path will be: `bower_components/mathsass/dist/
|
40
|
+
If you installed via Bower the path will be: `bower_components/mathsass/dist/mathsass`
|
41
41
|
|
42
42
|
|
43
43
|
## Features
|
@@ -191,7 +191,7 @@ grunt
|
|
191
191
|
|
192
192
|
## Credits
|
193
193
|
|
194
|
-
|
194
|
+
Originally created with help from [@kaminaly](https://github.com/kaminaly) and [@pilssalgi](https://github.com/pilssalgi).
|
195
195
|
|
196
196
|
|
197
197
|
## License
|
@@ -1,22 +1,30 @@
|
|
1
|
-
// MathSass v0.9.
|
1
|
+
// MathSass v0.9.4
|
2
2
|
// https://github.com/terkel/mathsass
|
3
3
|
//
|
4
4
|
// Copyright (c) 2014 Takeru Suzuki - http://terkel.jp/
|
5
5
|
// Licensed under the MIT license - http://opensource.org/licenses/MIT
|
6
6
|
|
7
|
+
// Constants
|
7
8
|
@import "constants";
|
8
9
|
|
10
|
+
// Exponentiation
|
9
11
|
@import "functions/pow";
|
12
|
+
|
13
|
+
// Factorial
|
10
14
|
@import "functions/fact";
|
15
|
+
|
16
|
+
// Square root
|
11
17
|
@import "functions/sqrt";
|
18
|
+
|
19
|
+
// Exponential function
|
12
20
|
@import "functions/exp";
|
13
21
|
@import "functions/frexp";
|
14
22
|
@import "functions/ldexp";
|
23
|
+
|
24
|
+
// Logarithms
|
15
25
|
@import "functions/log";
|
16
26
|
|
17
27
|
// Trigonometric functions
|
18
|
-
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
19
|
-
|
20
28
|
@import "functions/sin";
|
21
29
|
@import "functions/cos";
|
22
30
|
@import "functions/tan";
|
@@ -25,16 +33,12 @@
|
|
25
33
|
@import "functions/cot";
|
26
34
|
|
27
35
|
// Inverse trigonometric functions
|
28
|
-
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
29
|
-
|
30
36
|
@import "functions/asin";
|
31
37
|
@import "functions/acos";
|
32
38
|
@import "functions/atan";
|
33
39
|
@import "functions/atan2";
|
34
40
|
|
35
41
|
// Helpers
|
36
|
-
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
37
|
-
|
38
42
|
@import "helpers/strip-unit";
|
39
43
|
@import "helpers/deg-to-rad";
|
40
44
|
@import "helpers/rad-to-deg";
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: MathSass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takeru Suzuki
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|
@@ -32,9 +32,8 @@ extensions: []
|
|
32
32
|
extra_rdoc_files: []
|
33
33
|
files:
|
34
34
|
- README.md
|
35
|
-
- lib/MathSass.rb
|
36
35
|
- dist/_constants.scss
|
37
|
-
- dist/
|
36
|
+
- dist/_mathsass.scss
|
38
37
|
- dist/functions/_acos.scss
|
39
38
|
- dist/functions/_asin.scss
|
40
39
|
- dist/functions/_atan.scss
|
@@ -56,6 +55,7 @@ files:
|
|
56
55
|
- dist/helpers/_rad-to-deg.scss
|
57
56
|
- dist/helpers/_strip-unit.scss
|
58
57
|
- dist/helpers/_unitless-rad.scss
|
58
|
+
- lib/MathSass.rb
|
59
59
|
homepage: https://github.com/terkel/mathsass
|
60
60
|
licenses:
|
61
61
|
- MIT
|
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
76
|
version: 1.3.6
|
77
77
|
requirements: []
|
78
78
|
rubyforge_project: MathSass
|
79
|
-
rubygems_version: 2.
|
79
|
+
rubygems_version: 2.3.0
|
80
80
|
signing_key:
|
81
81
|
specification_version: 4
|
82
82
|
summary: Sass mathematical functions.
|