Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: globals/get_inline_bg.py

Issue 29624561: Issue 6104 - Minified code in help center repository (Closed) Base URL: https://hg.adblockplus.org/help.eyeo.com
Patch Set: Consolidated gulp tasks Created Dec. 7, 2017, 2:48 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « .hgignore ('k') | gulpfile.js » ('j') | gulpfile.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: globals/get_inline_bg.py
===================================================================
--- a/globals/get_inline_bg.py
+++ b/globals/get_inline_bg.py
@@ -10,11 +10,11 @@
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with help.eyeo.com. If not, see <http://www.gnu.org/licenses/>.
def get_inline_bg(filename):
- png = 'background-image: url(/img/png/' + filename + '.png);'
- svg = 'background-image: linear-gradient(transparent, transparent), url(/img/svg/' + filename + '.svg);'
+ png = 'background-image: url(/dist/img/png/' + filename + '.png);'
+ svg = 'background-image: linear-gradient(transparent, transparent), url(/dist/img/svg/' + filename + '.svg);'
return png + svg
« no previous file with comments | « .hgignore ('k') | gulpfile.js » ('j') | gulpfile.js » ('J')

Powered by Google App Engine
This is Rietveld