Fix some code style issues

This commit is contained in:
Tyler Long
2017-04-11 22:57:57 +08:00
parent 7d1c1e3845
commit 413162dfad
16 changed files with 27 additions and 11 deletions

View File

@@ -1,2 +0,0 @@
**/parser/*.js
src/d3.js

View File

@@ -38,6 +38,13 @@
}, },
"author": "Knut Sveidqvist", "author": "Knut Sveidqvist",
"license": "MIT", "license": "MIT",
"standard": {
"ignore": [
"**/parser/*.js",
"src/d3.js",
"dist/*.js"
]
},
"dependencies": { "dependencies": {
"chalk": "^1.1.3", "chalk": "^1.1.3",
"d3": "3.5.6", "d3": "3.5.6",

View File

@@ -1,3 +1,4 @@
/* eslint-env jasmine */
/** /**
* Created by knut on 14-11-18. * Created by knut on 14-11-18.
*/ */

View File

@@ -1,3 +1,4 @@
/* eslint-env jasmine */
// var proxyquire = require('proxyquire'); // var proxyquire = require('proxyquire');
// var newD3; // var newD3;
/// ** /// **

View File

@@ -1,3 +1,4 @@
/* eslint-env jasmine */
/** /**
* Created by knut on 14-11-18. * Created by knut on 14-11-18.
*/ */

View File

@@ -1,3 +1,4 @@
/* eslint-env jasmine */
/** /**
* Created by knut on 14-11-18. * Created by knut on 14-11-18.
*/ */

View File

@@ -1,3 +1,4 @@
/* eslint-env jasmine */
/** /**
* Created by knut on 14-11-18. * Created by knut on 14-11-18.
*/ */

View File

@@ -1,3 +1,4 @@
/* eslint-env jasmine */
var parser = require('./parser/gitGraph').parser var parser = require('./parser/gitGraph').parser
var ast = require('./gitGraphAst.js') var ast = require('./gitGraphAst.js')
describe('when parsing a gitGraph', function () { describe('when parsing a gitGraph', function () {

View File

@@ -1,3 +1,4 @@
/* eslint-env jasmine */
var proxyquire = require('proxyquire') var proxyquire = require('proxyquire')
/** /**
* Created by knut on 14-11-18. * Created by knut on 14-11-18.

View File

@@ -1,3 +1,4 @@
/* eslint-env jasmine */
/** /**
* Created by knut on 14-11-26. * Created by knut on 14-11-26.
*/ */

View File

@@ -1,3 +1,4 @@
/* eslint-env jasmine */
/** /**
* Created by knut on 14-11-26. * Created by knut on 14-11-26.
*/ */

View File

@@ -1,3 +1,4 @@
/* eslint-env jasmine */
/** /**
* Created by knut on 14-11-23. * Created by knut on 14-11-23.
*/ */

View File

@@ -1,7 +1,7 @@
/** /**
* Created by knut on 2015-09-15. * Created by knut on 2015-09-15.
*/ */
var navApp = angular.module('navApp', []) var navApp = window.angular.module('navApp', [])
navApp.controller('NavAppCtrl', function ($scope) { navApp.controller('NavAppCtrl', function ($scope) {
$scope.items = [ $scope.items = [
@@ -14,6 +14,6 @@ navApp.controller('NavAppCtrl', function ($scope) {
$scope.frameUrl = 'web.html' $scope.frameUrl = 'web.html'
$scope.go = function (url) { $scope.go = function (url) {
alert(url) window.alert(url)
} }
}) })

View File

@@ -1,6 +1,6 @@
/** /**
* Created by knut on 14-12-02. * Created by knut on 14-12-02.
*/ */
mermaid = require('mermaid') const mermaid = require('mermaid')
console.log('Test page! mermaid version' + mermaid.version()) console.log('Test page! mermaid version' + mermaid.version())

View File

@@ -1,3 +1,4 @@
/* eslint-env qunit */
require.config({ require.config({
paths: { paths: {
mermaid: '../../dist/mermaid' mermaid: '../../dist/mermaid'

View File

@@ -1,9 +1,9 @@
/** /**
* Created by knut on 15-03-07. * Created by knut on 15-03-07.
*/ */
define('simple', function () { // define('simple', function () {
var simple = { // var simple = {
data: 'info' // data: 'info'
} // }
return simple // return simple
}) // })