-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Stylus 0.54.0 introduces new embedurl() bif So, we need to avoid same-named function in our code (renamed to 'data-uri') Also, don't use 'embedurl' in any dir/file name or object key (renamed to 'urlfunc')
- Loading branch information
Showing
12 changed files
with
26 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion
2
test/fixtures/embedurl/embedurl.styl → test/fixtures/urlfunc/urlfunc.styl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.normal | ||
background-image:url('test.png'); | ||
.base64 | ||
background-image:embedurl('test.png'); | ||
background-image:data-uri('test.png'); |
2 changes: 1 addition & 1 deletion
2
.../fixtures/embedurl/urlfuncLimitFalse.styl → test/fixtures/urlfunc/urlfuncLimitFalse.styl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.normal | ||
background-image:url('testLimit.jpg'); | ||
.base64not | ||
background-image:embedurl('testLimit.jpg'); | ||
background-image:data-uri('testLimit.jpg'); |
2 changes: 1 addition & 1 deletion
2
test/fixtures/embedurl/embedurlOpts.styl → test/fixtures/urlfunc/urlfuncOpts.styl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
.normal | ||
background-image:url('test.png'); | ||
.base64not | ||
background-image:embedurl('test.png'); | ||
background-image:data-uri('test.png'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters