Forráskód Böngészése

Try to fix typings problem

Andrea Condoluci 9 éve
szülő
commit
9f06ce60f3
4 módosított fájl, 2 hozzáadás és 26 törlés
  1. 1 1
      Gruntfile.js
  2. 0 20
      build.js
  3. 0 3
      src/Common/FileIO/Mxl.ts
  4. 1 2
      tsconfig.json

+ 1 - 1
Gruntfile.js

@@ -107,7 +107,7 @@ module.exports = function (grunt) {
         jshint: {
             all: [
                 'Gruntfile.js', 'karma.conf.js',
-                'submodules/karma-musicxml2js-preprocessor/package.json', 'submodules/karma-musicxml2js-preprocessor/lib/index.js'
+                'submodules/**/*.json', 'submodules/**/*.js'
             ]
         },
         // TypeScript Type Definitions

+ 0 - 20
build.js

@@ -1,20 +0,0 @@
-#!/usr/bin/env node
-
-var fs = require("fs");
-var path = require("path");
-var browserify = require("browserify");
-var args = require('minimist')(process.argv.slice(2));
-
-var b = browserify({ debug: args.debug || false });
-
-var path_to_vexflow = args.path || path.join(__dirname, "node_modules/vexflow/releases/");
-
-console.log("Path to vexflow: " + path_to_vexflow);
-
-if (args["include-vexflow"]) {
-	b.add(path.join(path_to_vexflow, 'vexflow-debug.js'));
-}
-
-b.add('./src/file1.js');
-
-b.bundle().pipe(fs.createWriteStream("osmd.js"));

+ 0 - 3
src/Common/FileIO/Mxl.ts

@@ -1,8 +1,5 @@
 import { IXmlElement } from "./Xml";
 import JSZip = require("jszip");
-// typings for JSZip module
-// type JSZip = any;
-// declare var JSZip: any;
 
 export function extractSheetFromMxl(data: string): any {
   "use strict";

+ 1 - 2
tsconfig.json

@@ -3,7 +3,6 @@
     "target": "ES5"
   },
   "exclude": [
-    "node_modules",
-    "typings"
+    "node_modules"
   ]
 }