Skip to content

Commit

Permalink
small changes no serious
Browse files Browse the repository at this point in the history
  • Loading branch information
Shashank3736 committed Oct 18, 2021
1 parent 70c982a commit 03d2103
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 1 deletion.
Binary file added assets/CaptchaGenerator/65EE4Acaptcha.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/CaptchaGenerator/CE1C95captcha.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/CaptchaGenerator/E533DEcaptcha.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
9 changes: 9 additions & 0 deletions test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
"use strict";
exports.__esModule = true;
var fs_1 = require("fs");
var js_script_1 = require("./js-script");
var captcha = new js_script_1.CaptchaGenerator()
.setDimension(200, 200);
console.log(__filename + captcha.text);
(0, fs_1.writeFileSync)('assets/CaptchaGenerator/' + captcha.text + 'captcha.png', captcha.generateSync());
console.log(captcha.text);
3 changes: 2 additions & 1 deletion test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { writeFileSync } from "fs";
import { CaptchaGenerator } from "./js-script";

const captcha = new CaptchaGenerator();
const captcha = new CaptchaGenerator()
.setDimension(200, 200);
console.log(__filename + captcha.text);
writeFileSync('assets/CaptchaGenerator/' + captcha.text + 'captcha.png', captcha.generateSync());

Expand Down

0 comments on commit 03d2103

Please sign in to comment.