sassy-math 0.1.8 → 0.1.8.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/sassy-math.gemspec +1 -1
  2. data/stylesheets/_math.scss +24 -21
  3. metadata +2 -1
data/sassy-math.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{sassy-math}
5
- s.version = "0.1.8"
5
+ s.version = "0.1.8.5"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.3.5")
8
8
  s.authors = ["Sam Richard", "Mario Valencia", "Scott Kellum"]
@@ -101,27 +101,30 @@ $iter: 50;
101
101
  //////////////////////////////
102
102
  // Basic Trig Functions
103
103
  //////////////////////////////
104
- @function sin($number, $unit: 'deg') {
105
- @if $unit == 'deg' {
106
- $number: deg-to-rad($number);
107
- }
108
- @return maclaurin($number, 3, $number);
109
- }
110
-
111
- @function cos($number, $unit: 'deg') {
112
- @if $unit == 'deg' {
113
- $number: deg-to-rad($number);
114
- }
115
- @return maclaurin(1, 2, $number);
116
- }
117
-
118
- // Trig Identity: Tangent = Sine divided by Cosine.
119
- @function tan($number, $unit: 'deg') {
120
- @if $unit == 'deg' {
121
- $number: deg-to-rad($number);
122
- }
123
- @return sin($number) / cos($number);
124
- }
104
+ // Bundled in Compass: http://compass-style.org/reference/compass/helpers/trig/
105
+ // References for implementing using MacLaurin series below:
106
+
107
+ //@function sin($number, $unit: 'deg') {
108
+ // @if $unit == 'deg' {
109
+ // $number: deg-to-rad($number);
110
+ // }
111
+ // @return maclaurin($number, 3, $number);
112
+ //}
113
+ //
114
+ //@function cos($number, $unit: 'deg') {
115
+ // @if $unit == 'deg' {
116
+ // $number: deg-to-rad($number);
117
+ // }
118
+ // @return maclaurin(1, 2, $number);
119
+ //}
120
+ //
121
+ //// Trig Identity: Tangent = Sine divided by Cosine.
122
+ //@function tan($number, $unit: 'deg') {
123
+ // @if $unit == 'deg' {
124
+ // $number: deg-to-rad($number);
125
+ // }
126
+ // @return sin($number) / cos($number);
127
+ //}
125
128
 
126
129
  //////////////////////////////
127
130
  // Reciprocal Trig Functions
metadata CHANGED
@@ -6,7 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 0
7
7
  - 1
8
8
  - 8
9
- version: 0.1.8
9
+ - 5
10
+ version: 0.1.8.5
10
11
  platform: ruby
11
12
  authors:
12
13
  - Sam Richard