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: Move all requires to top of gulpfile.js Created Dec. 4, 2017, 2:10 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
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

Powered by Google App Engine
This is Rietveld