Skip to content

Commit

Permalink
update "var" in example/docs
Browse files Browse the repository at this point in the history
regex: ^ *var( |$)
  • Loading branch information
mvorisek committed Dec 4, 2022
1 parent 311b310 commit c85fda9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion examples/responsive.html
Expand Up @@ -642,7 +642,7 @@ <h3 class="ui center aligned header">Responsive Steps</h3>
<script type="text/javascript">
$(document).ready(function() {

var
let
$headers = $('body > h3'),
$header = $headers.first(),
ignoreScroll = false,
Expand Down
4 changes: 1 addition & 3 deletions tasks/README.md
Expand Up @@ -10,8 +10,6 @@
These tasks can be imported into your own gulpfile allowing you to avoid using Semantic's build tools

```javascript
var
watch = require('path/to/semantic/tasks/watch')
;
const watch = require('path/to/semantic/tasks/watch');
gulp.task('watch ui', watch);
```
8 changes: 3 additions & 5 deletions tasks/collections/README.md
Expand Up @@ -4,11 +4,9 @@ These are collections of tasks that are imported together.

To import them into gulp:
```javascript
var
gulp = require('gulp'),
// modified to point to semantic folder
install = require('tasks/collections/install')
;
const gulp = require('gulp');
// modified to point to semantic folder
const install = require('tasks/collections/install');
gulp = install(gulp);

// tasks are now injected and ready to be used
Expand Down

0 comments on commit c85fda9

Please sign in to comment.