Pārlūkot izejas kodu

use default import in lesspass module

pull/44/head
Guillaume Vincent pirms 9 gadiem
vecāks
revīzija
99ffdb1b38
3 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. +1
    -1
      app/app.js
  2. +1
    -1
      app/lesspass.js
  3. +1
    -1
      tests/lesspass.tests.js

+ 1
- 1
app/app.js Parādīt failu

@@ -1,4 +1,4 @@
import {lesspass} from '../app/lesspass';
import lesspass from '../app/lesspass';
import angular from 'angular';

import Clipboard from 'clipboard';


+ 1
- 1
app/lesspass.js Parādīt failu

@@ -1,6 +1,6 @@
import crypto from 'crypto';
export class lesspass {
export default class lesspass {
static create_password(masterPassword, siteInformation) {
var hash = this._create_hash(masterPassword, siteInformation);
var template = this._getTemplate(siteInformation.password_types);


+ 1
- 1
tests/lesspass.tests.js Parādīt failu

@@ -1,5 +1,5 @@
import assert from 'assert';
import {lesspass} from '../app/lesspass';
import lesspass from '../app/lesspass';

describe('lesspass', ()=> {
describe('public api', ()=> {


Notiek ielāde…
Atcelt
Saglabāt