Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to forked less.php #4417

Merged
merged 2 commits into from Sep 28, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 6 additions & 0 deletions composer.json
Expand Up @@ -11,6 +11,12 @@
"*": "dist"
}
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/concrete5/less.php"
}
],
"require": {
"php": ">=5.5.9",
"doctrine/dbal": "2.*",
Expand Down
35 changes: 21 additions & 14 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions tests/tests/Core/Style/StyleTest.php
Expand Up @@ -152,12 +152,12 @@ public function testCustomizableStyleSheetObjects()
$this->assertTrue($sheets[0] instanceof \Concrete\Core\StyleCustomizer\Stylesheet);

$css = $sheets[0]->getCss();
$this->assertTrue(strpos($css, "background-image: url('/path/to/server/concrete/themes/elemental/images/background-slider-default.png')") !== false);
$this->assertTrue(strpos($css, "background-image:url('/path/to/server/concrete/themes/elemental/images/background-slider-default.png')") !== false);

$sheets[0]->setValueList($list);
$css = $sheets[0]->getCss();
$this->assertTrue(strpos($css, "background-image: url('/path/to/server/concrete/themes/elemental/images/testingit.jpg')") !== false);
$this->assertTrue(strpos($css, 'font-family: "Testing Font Family"') !== false);
$this->assertTrue(strpos($css, "background-image:url('/path/to/server/concrete/themes/elemental/images/testingit.jpg')") !== false);
$this->assertTrue(strpos($css, 'font-family:"Testing Font Family"') !== false);

$sheet = $pt->getStylesheetObject('typography.less');
$sheet->setValueList($list);
Expand Down