Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions elements/designer-breadcrumb/designer-breadcrumb.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

<script>

define(['polymer-designer/dom-utils'], (domUtils) => {
define(['polymer-designer/dom-utils', 'dom5'], (domUtils, dom5) => {
'use strict';

Polymer({
Expand Down Expand Up @@ -127,7 +127,7 @@
this._selectedIndex < this._nodePath.length) {
let newNode = this._nodePath[this._selectedIndex];
this.fire('designer-select-element', {
sourceId: domUtils.getSourceId(newNode),
sourceId: dom5.getAttribute(newNode, domUtils.sourceIdAttribute),
}, { bubbles: true, });
}
},
Expand Down
2 changes: 1 addition & 1 deletion elements/designer-document/designer-document.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<link rel="import" href="../../src/protocol/document-client.html">
<link rel="import" href="../../src/rework-utils/rework-utils.html">
<link rel="import" href="../../src/uri/uri.html">
<link rel="import" href="../../vendor/parse5.html">
<link rel="import" href="../../src/parse5/parse5.html">

<dom-module id="designer-document">

Expand Down
10 changes: 10 additions & 0 deletions src/parse5/parse5.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!--
Copyright (c) 2017 The Polymer Project Authors. All rights reserved.
This code may only be used under the BSD style license found at http://polymer.github.io/LICENSE.txt
The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
-->

<script src="../../vendor/parse5.js" as="parse5"></script>
2 changes: 1 addition & 1 deletion test/path/path_test.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<link rel="import" href="../../../polymer/polymer.html"/>
<link rel="import" href="../../src/path/path.html"/>
<link rel="import" href="../../src/dom5/dom5.html"/>
<link rel="import" href="../../vendor/parse5.html">
<link rel="import" href="../../src/parse5/parse5.html">
</head>
<body>
<div id="mocha"></div>
Expand Down