Skip to content

Commit

Permalink
Fix the path of id and name
Browse files Browse the repository at this point in the history
  • Loading branch information
g21589 committed Nov 23, 2015
1 parent 57e8c52 commit 654fdaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,8 @@ function processSpNode(node, warpObj) {
* 966 </xsd:complexType>
*/

var id = node["p:nvSpPr"]["p:cNvSpPr"]["attrs"]["id"];
var name = node["p:nvSpPr"]["p:cNvSpPr"]["attrs"]["name"];
var id = node["p:nvSpPr"]["p:cNvPr"]["attrs"]["id"];
var name = node["p:nvSpPr"]["p:cNvPr"]["attrs"]["name"];
var idx = (node["p:nvSpPr"]["p:nvPr"]["p:ph"] === undefined) ? undefined : node["p:nvSpPr"]["p:nvPr"]["p:ph"]["attrs"]["idx"];
var type = (node["p:nvSpPr"]["p:nvPr"]["p:ph"] === undefined) ? undefined : node["p:nvSpPr"]["p:nvPr"]["p:ph"]["attrs"]["type"];
var order = node["attrs"]["order"];
Expand Down

0 comments on commit 654fdaa

Please sign in to comment.