Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Jan 9, 2019. It is now read-only.

Allow @import RegEx to find all Import Types#61

Open
JanThiel wants to merge 3 commits intomarceloverdijk:mastermarceloverdijk/lesscss-java:masterfrom
JanThiel:masterCopy head branch name to clipboard
Open

Allow @import RegEx to find all Import Types#61
JanThiel wants to merge 3 commits intomarceloverdijk:mastermarceloverdijk/lesscss-java:masterfrom
JanThiel:masterCopy head branch name to clipboard

Conversation

@JanThiel
Copy link

@JanThiel JanThiel commented Sep 9, 2014

Added missing Import directives to RegEx:

  • once
  • reference
  • multiple
  • inline

getImports should now also return

@import (reference) file.less
@import (multiple) file.less
@import (once) file.less
@import (inline) file.less

fixes #60

Added missing Import directives to RegEx:
- once
- reference
- multiple
- inline

getImports should now also return

@import (reference) file.less
@import (multiple) file.less
@import (once) file.less
@import (inline) file.less
Extended the check whether a file should be treated as LESS import with the new directives.
Fixed regression after stupid Copy & Paste...
@JanThiel
Copy link
Author

I missed to extend the importType check in .resolveImports(). This is fixed so the imports are recognized correctly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LessSource.getImports() only returns imports with type (css), (less) or none set

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.