Skip to content

Commit

Permalink
Issue #SB-25708 fix: Removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
itsvick committed Sep 14, 2021
1 parent 078130c commit 457acd9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,6 @@ export class QuestionCursorImplementationService implements QuestionCursor {
};
constructor(@Inject(DOCUMENT) private document: Document, private http: HttpClient) {
const url = (document.defaultView as any).questionListUrl;
console.log('url', url);
this.listUrl = url ? url : this.listUrl;
}

Expand Down
2 changes: 1 addition & 1 deletion scripts/copyAssets.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const dest = path.join('dist/quml-library/lib/assets/');

fs.copy(src, dest, function (err) {
if (err) {
console.log('An error occured while copying assets folder.', err);
console.log('An error occurred while copying assets folder.', err);
return console.error(err)
}
console.info('Copied assets folder');
Expand Down
2 changes: 0 additions & 2 deletions web-component/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -739,8 +739,6 @@
// Need to pass the API URL to fetch the question set
window.questionListUrl = 'https://staging.sunbirded.org/api/question/v1/list';
const qumlPlayerElement = document.createElement('sunbird-quml-player');
console.log('qumlPlayerElement', qumlPlayerElement);
qumlPlayerElement.setAttribute('My-config', 'vivek');
qumlPlayerElement.setAttribute('player-config', JSON.stringify(playerConfig));
qumlPlayerElement.addEventListener('playerEvent', (event) => {
console.log("On playerEvent", event);
Expand Down

0 comments on commit 457acd9

Please sign in to comment.