Skip to content

Commit

Permalink
Polish
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Jae-Yoon Chung committed May 3, 2019
1 parent 1956656 commit 3798c5c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22981,12 +22981,18 @@ exports.createContext = Script.createContext = function (context) {
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.start = undefined;

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

var handTrack = require('../node_modules/handtrackjs/dist/handtrack.min.js');
var _handtrackMin = require('../node_modules/handtrackjs/dist/handtrack.min.js');

var handTrack = _interopRequireWildcard(_handtrackMin);

require('hammer-simulator');

function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }

var start = async function start(element, video, canvas) {
var _ref = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {},
_ref$model = _ref.model,
Expand Down
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const handTrack = require('../node_modules/handtrackjs/dist/handtrack.min.js');
require('hammer-simulator');
import * as handTrack from '../node_modules/handtrackjs/dist/handtrack.min.js';
import 'hammer-simulator';


const start = async (element, video, canvas, {
Expand Down

0 comments on commit 3798c5c

Please sign in to comment.