Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Update to newest version of prism-element and prism
Browse files Browse the repository at this point in the history
  • Loading branch information
TimvdLippe committed Jun 8, 2016
1 parent f7e9f52 commit a882ef5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
7 changes: 4 additions & 3 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,14 @@
"iron-lazy-pages": "^1.0.2",
"Sortable": "TimvdLippe/Sortable#fix-es5-compilation",
"marked-element": "TimvdLippe/marked-element#expose-callback",
"prism-element": "TimvdLippe/prism-element#prism-css-module",
"polymerfire": "firebase/polymerfire#^0.9.2"
"prism-element": "polymerelements/prism-element#master",
"polymerfire": "firebase/polymerfire#^0.9.2",
"prism": "1.5.1"
},
"resolutions": {
"carbon-route": "reset-tail",
"marked-element": "expose-callback",
"prism-element": "prism-css-module"
"prism-element": "master"
},
"devDependencies": {
"web-component-tester": "^4.2.2"
Expand Down
4 changes: 2 additions & 2 deletions src/projects/diff/highlight.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
-->
<link rel="import" href="../../bower_components/polymer/polymer.html">
<link rel="import" href="../../util/collapse-icon.html">
<link rel="import" href="../../bower_components/prism-element/prism-style-import.html">
<link rel="import" href="../../bower_components/prism-element/prism-theme-default.html">
<link rel="import" href="hunk-ghost.html">

<dom-module id='pull-request-diff-highlight'>
<template>
<style is="custom-style" include="prism-styles"></style>
<style is="custom-style" include="prism-theme-default"></style>
<style>
[hidden] {
display: none !important;
Expand Down
4 changes: 0 additions & 4 deletions src/rite-app.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
<link rel="import" href="bower_components/paper-tabs/paper-tabs.html">
<link rel="import" href="bower_components/paper-spinner/paper-spinner.html">
<link rel="import" href="bower_components/prism-element/prism-highlighter.html">
<link rel="import" href="bower_components/prism-element/prism-style-import.html">

<link rel="stylesheet" href="bower_components/font-roboto/roboto.html">
<link rel="import" href="ajax/github-authenticated-ajax.html">
Expand All @@ -49,9 +48,6 @@
/*global Prism*/
// Match all lines that are not insertions or deletions
Prism.languages.diff.other = /.+/m;
// Additions and deletions can also be an empty line
Prism.languages.diff.inserted = /^[+>].*$/m
Prism.languages.diff.deleted = /^[-<].*$/m
</script>

<dom-module id="rite-app">
Expand Down

0 comments on commit a882ef5

Please sign in to comment.