Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 'find' call from updated dependency. #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
6 changes: 3 additions & 3 deletions ppt.js
Original file line number Diff line number Diff line change
Expand Up @@ -833,15 +833,15 @@ function process_ppt(ppt, opts) {
opts = opts || {};

/* 2.1.1 Current User Stream */
var custream = ppt.find('Current User');
var custream = CFB.find(ppt, 'Current User');
var cublob = custream.content;

/* 2.1.2 PowerPoint Document Stream */
var pptstream = ppt.find('PowerPoint Document');
var pptstream = CFB.find(ppt, 'PowerPoint Document');
var pptblob = pptstream.content;

var cu, uea;

/* Part 1.1 */
recordhopper(cublob, function pptdoc1(R, val, len) {
if(cu) throw "unexpected second RT_CurrentUserAtom in Current User stream";
Expand Down