Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitca757ee

Browse files
committed
Merge pull request#1 from Pichan/pichan
Make option 'main' accept an array
2 parents201952f +cad6ff0 commitca757ee

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎lib/less-renderer.coffee‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,12 @@ module.exports =
4444
options=@parseFirstLine filepath, line
4545

4646
ifoptions.main
47-
@getOptionspath.resolve(path.dirname(filepath),options.main), callback
47+
iftypeofoptions.main=='string'
48+
@getOptionspath.resolve(path.dirname(filepath),options.main), callback
49+
else
50+
for iin [0...options.main.length]
51+
@getOptionspath.resolve(path.dirname(filepath),options.main[i]), callback
52+
4853
else
4954
callback options
5055

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp