replace internal module to namespace

This commit is contained in:
vvakame
2016-03-17 02:18:10 +09:00
parent 2f47c75835
commit 14fe4313f4
1139 changed files with 179639 additions and 179639 deletions
+6 -6
View File
@@ -157,8 +157,8 @@ function test_collection() {
Backbone.history.start();
module v1Changes {
module events {
namespace v1Changes {
namespace events {
function test_once() {
var model = new Employee;
model.once('invalid', () => { }, this);
@@ -186,7 +186,7 @@ module v1Changes {
}
}
module ModelAndCollection {
namespace ModelAndCollection {
function test_url() {
Employee.prototype.url = () => '/employees';
EmployeeCollection.prototype.url = () => '/employees';
@@ -214,7 +214,7 @@ module v1Changes {
}
}
module Model {
namespace Model {
function test_validationError() {
var model = new Employee;
if (model.validationError) {
@@ -286,7 +286,7 @@ module v1Changes {
}
}
module Collection {
namespace Collection {
function test_fetch() {
var collection = new EmployeeCollection;
collection.fetch({ reset: true });
@@ -302,7 +302,7 @@ module v1Changes {
}
}
module Router {
namespace Router {
function test_navigate() {
var router = new Backbone.Router;