Skip to content

Commit 55831e4

Browse files
committed
Fix all kinds of typos.
1 parent f31b587 commit 55831e4

File tree

2 files changed

+11
-14
lines changed

2 files changed

+11
-14
lines changed

compass-style.org/Gemfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
PATH
22
remote: ..
33
specs:
4-
compass (1.0.0)
4+
compass (1.0.1)
55
chunky_png (~> 1.2)
6-
compass-core (~> 1.0.0)
6+
compass-core (~> 1.0.1)
77
compass-import-once (~> 1.0.5)
88
rb-fsevent (>= 0.9.3)
99
rb-inotify (>= 0.9)
1010
sass (>= 3.3.13, < 3.5)
11-
compass-core (1.0.0)
11+
compass-core (1.0.1)
1212
multi_json (~> 1.0)
1313
sass (>= 3.3.0, < 3.5)
1414
compass-import-once (1.0.5)

compass-style.org/content/help/documentation/sass-based-configuration-options.markdown

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,7 @@ that are worth explaining.
5252
Compass provides a function called `absolute-path` that will turn any
5353
path relative to the sass file it is called from into an absolute path.
5454
In order to make your stylesheets work on both windows and unix-based
55-
var gulp = require('gulp');
56-
var sass = require('gulp-ruby-sass');
57-
58-
gulp.task('default', function () {
59-
return gulp.src('src/scss/app.scss')
60-
.pipe(sass({sourcemap: true, sourcemapPath: '../scss'}))
61-
.on('error', function (err) { console.log(err.message); })
62-
.pipe(gulp.dest('dist/css'));
63-
});operating systems, you should use the `join-file-segments` function
55+
operating systems, you should use the `join-file-segments` function
6456
instead of a file separator.
6557

6658
For example. If your configuration partial was stored in a subdirectory
@@ -80,7 +72,12 @@ accepts and should return depends on the particular configuration
8072
property. For example:
8173

8274
@function my-cache-buster($url, $file) {
83-
@return (query: "h=#{md5sum($file)}");
75+
$hash: md5sum($file);
76+
@if $hash {
77+
@return (query: "h=#{$hash}");
78+
} @else {
79+
@return null;
80+
}
8481
}
8582

8683
@include compass-configuration($asset-cache-buster: my-cache-buster);
@@ -98,7 +95,7 @@ should be imported into every Sass file that is to be used with Compass.
9895
$project-path: absolute-path("..");
9996

10097
The global `$project-path` must be set to an absolute path to the
101-
directory of the`project. This global is used to initial compass
98+
directory of the project. This global is used to initial compass
10299
when importing `compass/configuration`.
103100

104101
$debug-configuration: true;

0 commit comments

Comments
 (0)