Permalink
Browse files

change require order (alphabetical order)

  • Loading branch information...
XadillaX committed Jan 5, 2016
1 parent c088f3f commit 3b319f71c276a0f2a17722e1bca5644ce4c4168c
Showing with 41 additions and 20 deletions.
  1. +2 −1 lib/field.js
  2. +3 −3 lib/field_type/index.js
  3. +3 −2 lib/model.js
  4. +7 −5 lib/query.js
  5. +2 −1 lib/result_promisor.js
  6. +3 −2 lib/toshihiko.js
  7. +4 −2 lib/yukari.js
  8. +1 −0 test/escaper.js
  9. +2 −1 test/field.js
  10. +2 −0 test/issues.js
  11. +4 −2 test/model.js
  12. +2 −0 test/query.js
  13. +1 −0 test/sql_parser.js
  14. +2 −0 test/toshihiko.js
  15. +3 −1 test/yukari.js
@@ -6,9 +6,10 @@
*/
"use strict";

var fieldTypes = require("./field_type");
var util = require("util");

var fieldTypes = require("./field_type");

/**
* Toshihiko Field
* @param opt {
@@ -6,12 +6,12 @@
*/
"use strict";

var _String = require("./string");
var _Boolean = require("./boolean");
var Integer = require("./integer");
var _String = require("./string");
var Datetime = require("./datetime");
var Float = require("./float");
var Integer = require("./integer");
var Json = require("./json");
var Datetime = require("./datetime");

module.exports = {
String : _String,
@@ -6,11 +6,12 @@
*/
"use strict";

var util = require("util");
var colors = require("colors");

var Field = require("./field");
var Query = require("./query");
var Yukari = require("./yukari");
var util = require("util");
var colors = require("colors");

/**
* Toshihiko Model
@@ -6,17 +6,19 @@
*/
"use strict";

var λ = require("lodash");
var colors = require("colors");
var util = require("util");
var Yukari = require("./yukari");
var mysql = require("mysql2");

var async = require("async");
var colors = require("colors");
var mysql = require("mysql2");
var Scarlet = require("scarlet-task");
var λ = require("lodash");

var common = require("../util/common");
var escaper = require("./escaper");
var ResultPromisor = require("./result_promisor");
var common = require("../util/common");
var sqlParser = require("../util/sql_parser");
var Yukari = require("./yukari");

/**
* limit array to limit object
@@ -6,9 +6,10 @@
*/
"use strict";

var damnArguments = require("../util/damn_arguments");
var BlueBird = require("bluebird");

var damnArguments = require("../util/damn_arguments");

/**
* Result Promisor
* @constructor
@@ -6,10 +6,11 @@
*/
"use strict";

var= require("lodash");
var mysql = require("mysql2");
var Model = require("./model");
var= require("lodash");

var common = require("../util/common");
var Model = require("./model");

/**
* Toshihiko Main Object
@@ -6,10 +6,12 @@
*/
"use strict";

var= require("lodash");
var util = require("util");
var mysql = require("mysql2");

var async = require("async");
var mysql = require("mysql2");
var= require("lodash");

var fieldType = require("./field_type");
var ResultPromisor = require("./result_promisor");

@@ -5,6 +5,7 @@
* reserved.
*/
require("should");

var escaper = require("../lib/escaper");

describe("Escaper", function() {
@@ -4,9 +4,10 @@
* Copyright (c) 2015 Souche.com, all rights
* reserved
*/
var field = require("../lib/field_type");
require("should");

var field = require("../lib/field_type");

describe("Field",function () {
describe("float type", function () {
var float = field.Float;
@@ -5,7 +5,9 @@
* reserved
*/
require("should");

var T = require("../");

var toshihiko = new T.Toshihiko("myapp_test", "root", "", {
cache : {
name: "memcached",
@@ -4,10 +4,12 @@
* Copyright (c) 2015 Souche.com, all rights
* reserved
*/
var should = require("should");
var T = require("../");
var async = require("async");
var should = require("should");
var= require("lodash");

var T = require("../");

var toshihiko = new T.Toshihiko("myapp_test", "root", "", {
cache : {
name: "memcached",
@@ -5,7 +5,9 @@
* reserved.
*/
require("should");

var T = require("../");

var toshihiko = new T.Toshihiko("test", "root", "", {});

var Model = null;
@@ -5,6 +5,7 @@
* reserved.
*/
require("should");

var parser = require("../util/sql_parser");

describe("Some SQL Parser", function() {
@@ -5,8 +5,10 @@
* reserved.
*/
var should = require("should");

var Toshihiko = require("../lib/toshihiko");
var Type = require("../lib/field_type");

var toshihiko = new Toshihiko("test", "root", "");

describe("toshihiko", function() {
@@ -5,8 +5,10 @@
* reserved.
*/
var should = require("should");
var T = require("../");
var moment = require("moment");

var T = require("../");

var toshihiko = new T.Toshihiko("myapp_test", "root", "", {
cache : {
name: "memcached",

0 comments on commit 3b319f7

Please sign in to comment.