Merge branch 'master' into open889
This commit is contained in:
22
.jshintrc
22
.jshintrc
@@ -1,4 +1,22 @@
|
|||||||
{
|
{
|
||||||
"validthis": true,
|
"bitwise": true,
|
||||||
"laxbreak": true
|
"browser": true,
|
||||||
|
"curly": true,
|
||||||
|
"eqeqeq": true,
|
||||||
|
"forin": true,
|
||||||
|
"freeze": true,
|
||||||
|
"funcscope": true,
|
||||||
|
"futurehostile": true,
|
||||||
|
"latedef": true,
|
||||||
|
"noarg": true,
|
||||||
|
"nocomma": true,
|
||||||
|
"nonbsp": true,
|
||||||
|
"nonew": true,
|
||||||
|
"predef": [
|
||||||
|
"define",
|
||||||
|
"Promise"
|
||||||
|
],
|
||||||
|
"strict": "implied",
|
||||||
|
"undef": true,
|
||||||
|
"unused": "vars"
|
||||||
}
|
}
|
||||||
|
|||||||
14
circle.yml
14
circle.yml
@@ -1,18 +1,16 @@
|
|||||||
deployment:
|
deployment:
|
||||||
production:
|
production:
|
||||||
branch: master
|
branch: master
|
||||||
commands:
|
|
||||||
- npm install canvas nomnoml
|
|
||||||
- ./build-docs.sh
|
|
||||||
- git push git@heroku.com:openmctweb-demo.git $CIRCLE_SHA1:refs/heads/master
|
|
||||||
openmctweb-staging-un:
|
|
||||||
branch: nem_prototype
|
|
||||||
heroku:
|
heroku:
|
||||||
appname: openmctweb-staging-un
|
appname: openmctweb-demo
|
||||||
|
openmct-demo:
|
||||||
|
branch: live_demo
|
||||||
|
heroku:
|
||||||
|
appname: openmct-demo
|
||||||
openmctweb-staging-deux:
|
openmctweb-staging-deux:
|
||||||
branch: mobile
|
branch: mobile
|
||||||
heroku:
|
heroku:
|
||||||
appname: openmctweb-staging-deux
|
appname: openmctweb-staging-deux
|
||||||
test:
|
test:
|
||||||
post:
|
post:
|
||||||
- npm run jshint --silent
|
- gulp lint
|
||||||
|
|||||||
@@ -1,9 +1,3 @@
|
|||||||
<hr>
|
<hr>
|
||||||
<cite>
|
|
||||||
This document is styled using
|
|
||||||
<a href="https://github.com/jasonm23/markdown-css-themes">
|
|
||||||
https://github.com/jasonm23/markdown-css-themes
|
|
||||||
</a>.
|
|
||||||
</cite>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,7 +1,9 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<link rel="stylesheet"
|
<link rel="stylesheet"
|
||||||
href="http://jasonm23.github.io/markdown-css-themes/avenir-white.css">
|
href="//nasa.github.io/openmct/static/res/css/styles.css">
|
||||||
|
<link rel="stylesheet"
|
||||||
|
href="//nasa.github.io/openmct/static/res/css/documentation.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
|||||||
14
gulpfile.js
14
gulpfile.js
@@ -35,13 +35,16 @@ var gulp = require('gulp'),
|
|||||||
fs = require('fs'),
|
fs = require('fs'),
|
||||||
git = require('git-rev-sync'),
|
git = require('git-rev-sync'),
|
||||||
moment = require('moment'),
|
moment = require('moment'),
|
||||||
|
merge = require('merge-stream'),
|
||||||
project = require('./package.json'),
|
project = require('./package.json'),
|
||||||
|
_ = require('lodash'),
|
||||||
paths = {
|
paths = {
|
||||||
main: 'main.js',
|
main: 'main.js',
|
||||||
dist: 'dist',
|
dist: 'dist',
|
||||||
assets: 'dist/assets',
|
assets: 'dist/assets',
|
||||||
scss: ['./platform/**/*.scss', './example/**/*.scss'],
|
scss: ['./platform/**/*.scss', './example/**/*.scss'],
|
||||||
scripts: [ 'main.js', 'platform/**/*.js', 'src/**/*.js' ],
|
scripts: [ 'main.js', 'platform/**/*.js', 'src/**/*.js' ],
|
||||||
|
specs: [ 'platform/**/*Spec.js', 'src/**/*Spec.js' ],
|
||||||
static: [
|
static: [
|
||||||
'index.html',
|
'index.html',
|
||||||
'platform/**/*',
|
'platform/**/*',
|
||||||
@@ -100,8 +103,15 @@ gulp.task('stylesheets', function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
gulp.task('lint', function () {
|
gulp.task('lint', function () {
|
||||||
return gulp.src(paths.scripts)
|
var nonspecs = paths.specs.map(function (glob) {
|
||||||
.pipe(jshint())
|
return "!" + glob;
|
||||||
|
}),
|
||||||
|
scriptLint = gulp.src(paths.scripts.concat(nonspecs))
|
||||||
|
.pipe(jshint()),
|
||||||
|
specLint = gulp.src(paths.specs)
|
||||||
|
.pipe(jshint({ jasmine: true }));
|
||||||
|
|
||||||
|
return merge(scriptLint, specLint)
|
||||||
.pipe(jshint.reporter('default'))
|
.pipe(jshint.reporter('default'))
|
||||||
.pipe(jshint.reporter('fail'));
|
.pipe(jshint.reporter('fail'));
|
||||||
});
|
});
|
||||||
|
|||||||
7
main.js
7
main.js
@@ -19,7 +19,7 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define, window, requirejs*/
|
/*global requirejs*/
|
||||||
|
|
||||||
requirejs.config({
|
requirejs.config({
|
||||||
"paths": {
|
"paths": {
|
||||||
@@ -46,6 +46,9 @@ requirejs.config({
|
|||||||
"moment-duration-format": {
|
"moment-duration-format": {
|
||||||
"deps": [ "moment" ]
|
"deps": [ "moment" ]
|
||||||
},
|
},
|
||||||
|
"screenfull": {
|
||||||
|
"exports": "screenfull"
|
||||||
|
},
|
||||||
"zepto": {
|
"zepto": {
|
||||||
"exports": "Zepto"
|
"exports": "Zepto"
|
||||||
}
|
}
|
||||||
@@ -91,8 +94,6 @@ define([
|
|||||||
'./platform/status/bundle',
|
'./platform/status/bundle',
|
||||||
'./platform/commonUI/regions/bundle'
|
'./platform/commonUI/regions/bundle'
|
||||||
], function (Main, legacyRegistry) {
|
], function (Main, legacyRegistry) {
|
||||||
'use strict';
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
legacyRegistry: legacyRegistry,
|
legacyRegistry: legacyRegistry,
|
||||||
run: function () {
|
run: function () {
|
||||||
|
|||||||
@@ -34,6 +34,7 @@
|
|||||||
"lodash": "^3.10.1",
|
"lodash": "^3.10.1",
|
||||||
"markdown-toc": "^0.11.7",
|
"markdown-toc": "^0.11.7",
|
||||||
"marked": "^0.3.5",
|
"marked": "^0.3.5",
|
||||||
|
"merge-stream": "^1.0.0",
|
||||||
"mkdirp": "^0.5.1",
|
"mkdirp": "^0.5.1",
|
||||||
"moment": "^2.11.1",
|
"moment": "^2.11.1",
|
||||||
"node-bourbon": "^4.2.3",
|
"node-bourbon": "^4.2.3",
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
define([
|
define([
|
||||||
"text!./res/templates/about-dialog.html",
|
"text!./res/templates/about-dialog.html",
|
||||||
@@ -48,7 +47,6 @@ define([
|
|||||||
licensesExportMdTemplate,
|
licensesExportMdTemplate,
|
||||||
legacyRegistry
|
legacyRegistry
|
||||||
) {
|
) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
legacyRegistry.register("platform/commonUI/about", {
|
legacyRegistry.register("platform/commonUI/about", {
|
||||||
"name": "About Open MCT Web",
|
"name": "About Open MCT Web",
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -29,7 +28,6 @@
|
|||||||
define(
|
define(
|
||||||
[],
|
[],
|
||||||
function () {
|
function () {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The AboutController provides information to populate the
|
* The AboutController provides information to populate the
|
||||||
|
|||||||
@@ -19,12 +19,10 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
[],
|
[],
|
||||||
function () {
|
function () {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides extension-introduced licenses information to the
|
* Provides extension-introduced licenses information to the
|
||||||
|
|||||||
@@ -19,12 +19,10 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
[],
|
[],
|
||||||
function () {
|
function () {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The LogoController provides functionality to the application
|
* The LogoController provides functionality to the application
|
||||||
|
|||||||
@@ -19,12 +19,10 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
['../src/AboutController'],
|
['../src/AboutController'],
|
||||||
function (AboutController) {
|
function (AboutController) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
describe("The About controller", function () {
|
describe("The About controller", function () {
|
||||||
var testVersions,
|
var testVersions,
|
||||||
|
|||||||
@@ -19,12 +19,10 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
['../src/LicenseController'],
|
['../src/LicenseController'],
|
||||||
function (LicenseController) {
|
function (LicenseController) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
describe("The License controller", function () {
|
describe("The License controller", function () {
|
||||||
var testLicenses,
|
var testLicenses,
|
||||||
|
|||||||
@@ -19,12 +19,10 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
['../src/LogoController'],
|
['../src/LogoController'],
|
||||||
function (LogoController) {
|
function (LogoController) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
describe("The About controller", function () {
|
describe("The About controller", function () {
|
||||||
var mockOverlayService,
|
var mockOverlayService,
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
define([
|
define([
|
||||||
"./src/BrowseController",
|
"./src/BrowseController",
|
||||||
@@ -80,7 +79,6 @@ define([
|
|||||||
inspectorRegionTemplate,
|
inspectorRegionTemplate,
|
||||||
legacyRegistry
|
legacyRegistry
|
||||||
) {
|
) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
legacyRegistry.register("platform/commonUI/browse", {
|
legacyRegistry.register("platform/commonUI/browse", {
|
||||||
"extensions": {
|
"extensions": {
|
||||||
|
|||||||
@@ -19,18 +19,14 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise, confirm*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This bundle implements Browse mode.
|
* This bundle implements Browse mode.
|
||||||
* @namespace platform/commonUI/browse
|
* @namespace platform/commonUI/browse
|
||||||
*/
|
*/
|
||||||
define(
|
define(
|
||||||
[
|
[],
|
||||||
'../../../representation/src/gestures/GestureConstants'
|
function () {
|
||||||
],
|
|
||||||
function (GestureConstants) {
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var ROOT_ID = "ROOT";
|
var ROOT_ID = "ROOT";
|
||||||
|
|
||||||
|
|||||||
@@ -19,12 +19,10 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
[],
|
[],
|
||||||
function () {
|
function () {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Controller for the `browse-object` representation of a domain
|
* Controller for the `browse-object` representation of a domain
|
||||||
|
|||||||
@@ -19,14 +19,12 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,window*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
[
|
[
|
||||||
'../../regions/src/Region'
|
'../../regions/src/Region'
|
||||||
],
|
],
|
||||||
function (Region) {
|
function (Region) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines the a default Inspector region. Captured in a class to
|
* Defines the a default Inspector region. Captured in a class to
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Module defining MenuArrowController. Created by shale on 06/30/2015.
|
* Module defining MenuArrowController. Created by shale on 06/30/2015.
|
||||||
@@ -27,7 +26,6 @@
|
|||||||
define(
|
define(
|
||||||
[],
|
[],
|
||||||
function () {
|
function () {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A left-click on the menu arrow should display a
|
* A left-click on the menu arrow should display a
|
||||||
|
|||||||
@@ -19,13 +19,11 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise*/
|
|
||||||
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
[],
|
[],
|
||||||
function () {
|
function () {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Controller to provide the ability to show/hide the tree in
|
* Controller to provide the ability to show/hide the tree in
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Module defining AddAction. Created by ahenry on 01/21/16.
|
* Module defining AddAction. Created by ahenry on 01/21/16.
|
||||||
@@ -29,7 +28,6 @@ define(
|
|||||||
'./CreateWizard'
|
'./CreateWizard'
|
||||||
],
|
],
|
||||||
function (CreateWizard) {
|
function (CreateWizard) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The Add Action is performed to create new instances of
|
* The Add Action is performed to create new instances of
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Module defining AddActionProvider.js. Created by ahenry on 01/21/16.
|
* Module defining AddActionProvider.js. Created by ahenry on 01/21/16.
|
||||||
@@ -27,7 +26,6 @@
|
|||||||
define(
|
define(
|
||||||
["./AddAction"],
|
["./AddAction"],
|
||||||
function (AddAction) {
|
function (AddAction) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The AddActionProvider is an ActionProvider which introduces
|
* The AddActionProvider is an ActionProvider which introduces
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Module defining CreateAction. Created by vwoeltje on 11/10/14.
|
* Module defining CreateAction. Created by vwoeltje on 11/10/14.
|
||||||
@@ -30,7 +29,6 @@ define(
|
|||||||
'../../../edit/src/objects/EditableDomainObject'
|
'../../../edit/src/objects/EditableDomainObject'
|
||||||
],
|
],
|
||||||
function (CreateWizard, EditableDomainObject) {
|
function (CreateWizard, EditableDomainObject) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The Create Action is performed to create new instances of
|
* The Create Action is performed to create new instances of
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Module defining CreateActionProvider.js. Created by vwoeltje on 11/10/14.
|
* Module defining CreateActionProvider.js. Created by vwoeltje on 11/10/14.
|
||||||
@@ -27,7 +26,6 @@
|
|||||||
define(
|
define(
|
||||||
["./CreateAction"],
|
["./CreateAction"],
|
||||||
function (CreateAction) {
|
function (CreateAction) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The CreateActionProvider is an ActionProvider which introduces
|
* The CreateActionProvider is an ActionProvider which introduces
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Module defining CreateMenuController. Created by vwoeltje on 11/10/14.
|
* Module defining CreateMenuController. Created by vwoeltje on 11/10/14.
|
||||||
@@ -27,7 +26,6 @@
|
|||||||
define(
|
define(
|
||||||
[],
|
[],
|
||||||
function () {
|
function () {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Controller for the Create menu; maintains an up-to-date
|
* Controller for the Create menu; maintains an up-to-date
|
||||||
|
|||||||
@@ -19,11 +19,9 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
function () {
|
function () {
|
||||||
'use strict';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A class for capturing user input data from an object creation
|
* A class for capturing user input data from an object creation
|
||||||
|
|||||||
@@ -19,12 +19,10 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
[],
|
[],
|
||||||
function () {
|
function () {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A policy for determining whether objects of a given type can be
|
* A policy for determining whether objects of a given type can be
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Module defining CreateService. Created by vwoeltje on 11/10/14.
|
* Module defining CreateService. Created by vwoeltje on 11/10/14.
|
||||||
@@ -27,12 +26,9 @@
|
|||||||
define(
|
define(
|
||||||
[],
|
[],
|
||||||
function () {
|
function () {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var NON_PERSISTENT_WARNING =
|
var NON_PERSISTENT_WARNING =
|
||||||
"Tried to create an object in non-persistent container.",
|
"Tried to create an object in non-persistent container.";
|
||||||
NO_COMPOSITION_WARNING =
|
|
||||||
"Could not add to composition; no composition in ";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The creation service is responsible for instantiating and
|
* The creation service is responsible for instantiating and
|
||||||
|
|||||||
@@ -19,12 +19,10 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
[],
|
[],
|
||||||
function () {
|
function () {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Controller for the "locator" control, which provides the
|
* Controller for the "locator" control, which provides the
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Module defining NavigateAction. Created by vwoeltje on 11/10/14.
|
* Module defining NavigateAction. Created by vwoeltje on 11/10/14.
|
||||||
@@ -27,7 +26,6 @@
|
|||||||
define(
|
define(
|
||||||
[],
|
[],
|
||||||
function () {
|
function () {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The navigate action navigates to a specific domain object.
|
* The navigate action navigates to a specific domain object.
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Module defining NavigationService. Created by vwoeltje on 11/10/14.
|
* Module defining NavigationService. Created by vwoeltje on 11/10/14.
|
||||||
@@ -27,7 +26,6 @@
|
|||||||
define(
|
define(
|
||||||
[],
|
[],
|
||||||
function () {
|
function () {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The navigation service maintains the application's current
|
* The navigation service maintains the application's current
|
||||||
|
|||||||
@@ -19,15 +19,13 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,screenfull,Promise*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Module defining FullscreenAction. Created by vwoeltje on 11/18/14.
|
* Module defining FullscreenAction. Created by vwoeltje on 11/18/14.
|
||||||
*/
|
*/
|
||||||
define(
|
define(
|
||||||
["screenfull"],
|
["screenfull"],
|
||||||
function () {
|
function (screenfull) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var ENTER_FULLSCREEN = "Enter full screen mode",
|
var ENTER_FULLSCREEN = "Enter full screen mode",
|
||||||
EXIT_FULLSCREEN = "Exit full screen mode";
|
EXIT_FULLSCREEN = "Exit full screen mode";
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Module defining NewTabAction (Originally NewWindowAction). Created by vwoeltje on 11/18/14.
|
* Module defining NewTabAction (Originally NewWindowAction). Created by vwoeltje on 11/18/14.
|
||||||
@@ -27,9 +26,6 @@
|
|||||||
define(
|
define(
|
||||||
[],
|
[],
|
||||||
function () {
|
function () {
|
||||||
"use strict";
|
|
||||||
var ROOT_ID = "ROOT",
|
|
||||||
DEFAULT_PATH = "/mine";
|
|
||||||
/**
|
/**
|
||||||
* The new tab action allows a domain object to be opened
|
* The new tab action allows a domain object to be opened
|
||||||
* into a new browser tab.
|
* into a new browser tab.
|
||||||
|
|||||||
@@ -19,12 +19,10 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
[],
|
[],
|
||||||
function () {
|
function () {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Updates the title of the current window to reflect the name
|
* Updates the title of the current window to reflect the name
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine,xit,xdescribe*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* MCTRepresentationSpec. Created by vwoeltje on 11/6/14.
|
* MCTRepresentationSpec. Created by vwoeltje on 11/6/14.
|
||||||
@@ -27,7 +26,6 @@
|
|||||||
define(
|
define(
|
||||||
["../src/BrowseController"],
|
["../src/BrowseController"],
|
||||||
function (BrowseController) {
|
function (BrowseController) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
describe("The browse controller", function () {
|
describe("The browse controller", function () {
|
||||||
var mockScope,
|
var mockScope,
|
||||||
|
|||||||
@@ -19,13 +19,11 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
|
||||||
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
["../src/BrowseObjectController"],
|
["../src/BrowseObjectController"],
|
||||||
function (BrowseObjectController) {
|
function (BrowseObjectController) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
describe("The browse object controller", function () {
|
describe("The browse object controller", function () {
|
||||||
var mockScope,
|
var mockScope,
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* MCTIncudeSpec. Created by vwoeltje on 11/6/14.
|
* MCTIncudeSpec. Created by vwoeltje on 11/6/14.
|
||||||
@@ -27,7 +26,6 @@
|
|||||||
define(
|
define(
|
||||||
["../src/InspectorRegion"],
|
["../src/InspectorRegion"],
|
||||||
function (InspectorRegion) {
|
function (InspectorRegion) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
describe("The inspector region", function () {
|
describe("The inspector region", function () {
|
||||||
var inspectorRegion;
|
var inspectorRegion;
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* MenuArrowControllerSpec. Created by shale on 07/02/2015.
|
* MenuArrowControllerSpec. Created by shale on 07/02/2015.
|
||||||
@@ -27,7 +26,6 @@
|
|||||||
define(
|
define(
|
||||||
["../src/MenuArrowController"],
|
["../src/MenuArrowController"],
|
||||||
function (MenuArrowController) {
|
function (MenuArrowController) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
describe("The menu arrow controller ", function () {
|
describe("The menu arrow controller ", function () {
|
||||||
var mockScope,
|
var mockScope,
|
||||||
|
|||||||
@@ -19,12 +19,10 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
["../src/PaneController"],
|
["../src/PaneController"],
|
||||||
function (PaneController) {
|
function (PaneController) {
|
||||||
'use strict';
|
|
||||||
|
|
||||||
describe("The PaneController", function () {
|
describe("The PaneController", function () {
|
||||||
var mockScope,
|
var mockScope,
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine,xit,xdescribe*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* MCTRepresentationSpec. Created by ahenry on 01/21/14.
|
* MCTRepresentationSpec. Created by ahenry on 01/21/14.
|
||||||
@@ -27,7 +26,6 @@
|
|||||||
define(
|
define(
|
||||||
["../../src/creation/AddActionProvider"],
|
["../../src/creation/AddActionProvider"],
|
||||||
function (AddActionProvider) {
|
function (AddActionProvider) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
describe("The add action provider", function () {
|
describe("The add action provider", function () {
|
||||||
var mockTypeService,
|
var mockTypeService,
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine,xit,xdescribe*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* MCTRepresentationSpec. Created by vwoeltje on 11/6/14.
|
* MCTRepresentationSpec. Created by vwoeltje on 11/6/14.
|
||||||
@@ -27,7 +26,6 @@
|
|||||||
define(
|
define(
|
||||||
["../../src/creation/CreateActionProvider"],
|
["../../src/creation/CreateActionProvider"],
|
||||||
function (CreateActionProvider) {
|
function (CreateActionProvider) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
describe("The create action provider", function () {
|
describe("The create action provider", function () {
|
||||||
var mockTypeService,
|
var mockTypeService,
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine,xit,xdescribe*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* MCTRepresentationSpec. Created by vwoeltje on 11/6/14.
|
* MCTRepresentationSpec. Created by vwoeltje on 11/6/14.
|
||||||
@@ -27,7 +26,6 @@
|
|||||||
define(
|
define(
|
||||||
["../../src/creation/CreateAction"],
|
["../../src/creation/CreateAction"],
|
||||||
function (CreateAction) {
|
function (CreateAction) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
describe("The create action", function () {
|
describe("The create action", function () {
|
||||||
var mockType,
|
var mockType,
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* MCTRepresentationSpec. Created by vwoeltje on 11/6/14.
|
* MCTRepresentationSpec. Created by vwoeltje on 11/6/14.
|
||||||
@@ -27,7 +26,6 @@
|
|||||||
define(
|
define(
|
||||||
["../../src/creation/CreateMenuController"],
|
["../../src/creation/CreateMenuController"],
|
||||||
function (CreateMenuController) {
|
function (CreateMenuController) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
describe("The create menu controller", function () {
|
describe("The create menu controller", function () {
|
||||||
var mockScope,
|
var mockScope,
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* MCTRepresentationSpec. Created by vwoeltje on 11/6/14.
|
* MCTRepresentationSpec. Created by vwoeltje on 11/6/14.
|
||||||
@@ -27,7 +26,6 @@
|
|||||||
define(
|
define(
|
||||||
["../../src/creation/CreateWizard"],
|
["../../src/creation/CreateWizard"],
|
||||||
function (CreateWizard) {
|
function (CreateWizard) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
describe("The create wizard", function () {
|
describe("The create wizard", function () {
|
||||||
var mockType,
|
var mockType,
|
||||||
|
|||||||
@@ -19,12 +19,10 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,describe,it,expect,beforeEach,jasmine*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
["../../src/creation/CreationPolicy"],
|
["../../src/creation/CreationPolicy"],
|
||||||
function (CreationPolicy) {
|
function (CreationPolicy) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
describe("The creation policy", function () {
|
describe("The creation policy", function () {
|
||||||
var mockType,
|
var mockType,
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* MCTRepresentationSpec. Created by vwoeltje on 11/6/14.
|
* MCTRepresentationSpec. Created by vwoeltje on 11/6/14.
|
||||||
@@ -27,7 +26,6 @@
|
|||||||
define(
|
define(
|
||||||
["../../src/creation/CreationService"],
|
["../../src/creation/CreationService"],
|
||||||
function (CreationService) {
|
function (CreationService) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
describe("The creation service", function () {
|
describe("The creation service", function () {
|
||||||
var mockQ,
|
var mockQ,
|
||||||
@@ -149,8 +147,7 @@ define(
|
|||||||
});
|
});
|
||||||
|
|
||||||
it("adds new objects to the parent's composition", function () {
|
it("adds new objects to the parent's composition", function () {
|
||||||
var model = { someKey: "some value" },
|
var model = { someKey: "some value" };
|
||||||
parentModel = { composition: ["notAnyUUID"] };
|
|
||||||
creationService.createObject(model, mockParentObject);
|
creationService.createObject(model, mockParentObject);
|
||||||
|
|
||||||
// Verify that a new ID was added
|
// Verify that a new ID was added
|
||||||
@@ -201,8 +198,7 @@ define(
|
|||||||
it("logs an error when mutaton fails", function () {
|
it("logs an error when mutaton fails", function () {
|
||||||
// If mutation of the parent fails, we've lost the
|
// If mutation of the parent fails, we've lost the
|
||||||
// created object - this is an error.
|
// created object - this is an error.
|
||||||
var model = { someKey: "some value" },
|
var model = { someKey: "some value" };
|
||||||
parentModel = { composition: ["notAnyUUID"] };
|
|
||||||
|
|
||||||
mockCompositionCapability.add.andReturn(mockPromise(false));
|
mockCompositionCapability.add.andReturn(mockPromise(false));
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* MCTRepresentationSpec. Created by vwoeltje on 11/6/14.
|
* MCTRepresentationSpec. Created by vwoeltje on 11/6/14.
|
||||||
@@ -27,7 +26,6 @@
|
|||||||
define(
|
define(
|
||||||
["../../src/creation/LocatorController"],
|
["../../src/creation/LocatorController"],
|
||||||
function (LocatorController) {
|
function (LocatorController) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
describe("The locator controller", function () {
|
describe("The locator controller", function () {
|
||||||
var mockScope,
|
var mockScope,
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* MCTRepresentationSpec. Created by vwoeltje on 11/6/14.
|
* MCTRepresentationSpec. Created by vwoeltje on 11/6/14.
|
||||||
@@ -27,12 +26,10 @@
|
|||||||
define(
|
define(
|
||||||
["../../src/navigation/NavigateAction"],
|
["../../src/navigation/NavigateAction"],
|
||||||
function (NavigateAction) {
|
function (NavigateAction) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
describe("The navigate action", function () {
|
describe("The navigate action", function () {
|
||||||
var mockNavigationService,
|
var mockNavigationService,
|
||||||
mockQ,
|
mockQ,
|
||||||
actionContext,
|
|
||||||
mockDomainObject,
|
mockDomainObject,
|
||||||
action;
|
action;
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* MCTRepresentationSpec. Created by vwoeltje on 11/6/14.
|
* MCTRepresentationSpec. Created by vwoeltje on 11/6/14.
|
||||||
@@ -27,7 +26,6 @@
|
|||||||
define(
|
define(
|
||||||
["../../src/navigation/NavigationService"],
|
["../../src/navigation/NavigationService"],
|
||||||
function (NavigationService) {
|
function (NavigationService) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
describe("The navigation service", function () {
|
describe("The navigation service", function () {
|
||||||
var navigationService;
|
var navigationService;
|
||||||
|
|||||||
@@ -19,33 +19,30 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine,afterEach,window*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* MCTRepresentationSpec. Created by vwoeltje on 11/6/14.
|
* MCTRepresentationSpec. Created by vwoeltje on 11/6/14.
|
||||||
*/
|
*/
|
||||||
define(
|
define(
|
||||||
["../../src/windowing/FullscreenAction"],
|
["../../src/windowing/FullscreenAction", "screenfull"],
|
||||||
function (FullscreenAction) {
|
function (FullscreenAction, screenfull) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
describe("The fullscreen action", function () {
|
describe("The fullscreen action", function () {
|
||||||
var action,
|
var action,
|
||||||
oldScreenfull;
|
oldToggle;
|
||||||
|
|
||||||
beforeEach(function () {
|
beforeEach(function () {
|
||||||
// Screenfull is not shimmed or injected, so
|
// Screenfull is not shimmed or injected, so
|
||||||
// we need to spy on it in the global scope.
|
// we need to spy on it in the global scope.
|
||||||
oldScreenfull = window.screenfull;
|
oldToggle = screenfull.toggle;
|
||||||
|
|
||||||
window.screenfull = {};
|
screenfull.toggle = jasmine.createSpy("toggle");
|
||||||
window.screenfull.toggle = jasmine.createSpy("toggle");
|
|
||||||
|
|
||||||
action = new FullscreenAction({});
|
action = new FullscreenAction({});
|
||||||
});
|
});
|
||||||
|
|
||||||
afterEach(function () {
|
afterEach(function () {
|
||||||
window.screenfull = oldScreenfull;
|
screenfull.toggle = oldToggle;
|
||||||
});
|
});
|
||||||
|
|
||||||
it("toggles fullscreen mode when performed", function () {
|
it("toggles fullscreen mode when performed", function () {
|
||||||
|
|||||||
@@ -19,18 +19,15 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine,afterEach,window*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
["../../src/windowing/NewTabAction"],
|
["../../src/windowing/NewTabAction"],
|
||||||
function (NewTabAction) {
|
function (NewTabAction) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
describe("The new tab action", function () {
|
describe("The new tab action", function () {
|
||||||
var actionSelected,
|
var actionSelected,
|
||||||
actionCurrent,
|
actionCurrent,
|
||||||
mockWindow,
|
mockWindow,
|
||||||
mockDomainObject,
|
|
||||||
mockContextCurrent,
|
mockContextCurrent,
|
||||||
mockContextSelected,
|
mockContextSelected,
|
||||||
mockUrlService;
|
mockUrlService;
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* WindowTitlerSpec. Created by vwoeltje on 11/6/14.
|
* WindowTitlerSpec. Created by vwoeltje on 11/6/14.
|
||||||
@@ -27,7 +26,6 @@
|
|||||||
define(
|
define(
|
||||||
["../../src/windowing/WindowTitler"],
|
["../../src/windowing/WindowTitler"],
|
||||||
function (WindowTitler) {
|
function (WindowTitler) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
describe("The window titler", function () {
|
describe("The window titler", function () {
|
||||||
var mockNavigationService,
|
var mockNavigationService,
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
define([
|
define([
|
||||||
"./src/DialogService",
|
"./src/DialogService",
|
||||||
@@ -44,7 +43,6 @@ define([
|
|||||||
overlayTemplate,
|
overlayTemplate,
|
||||||
legacyRegistry
|
legacyRegistry
|
||||||
) {
|
) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
legacyRegistry.register("platform/commonUI/dialog", {
|
legacyRegistry.register("platform/commonUI/dialog", {
|
||||||
"extensions": {
|
"extensions": {
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This bundle implements the dialog service, which can be used to
|
* This bundle implements the dialog service, which can be used to
|
||||||
@@ -29,7 +28,6 @@
|
|||||||
define(
|
define(
|
||||||
[],
|
[],
|
||||||
function () {
|
function () {
|
||||||
"use strict";
|
|
||||||
/**
|
/**
|
||||||
* The dialog service is responsible for handling window-modal
|
* The dialog service is responsible for handling window-modal
|
||||||
* communication with the user, such as displaying forms for user
|
* communication with the user, such as displaying forms for user
|
||||||
|
|||||||
@@ -19,12 +19,10 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
[],
|
[],
|
||||||
function () {
|
function () {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
// Template to inject into the DOM to show the dialog; really just points to
|
// Template to inject into the DOM to show the dialog; really just points to
|
||||||
// the a specific template that can be included via mct-include
|
// the a specific template that can be included via mct-include
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* MCTIncudeSpec. Created by vwoeltje on 11/6/14.
|
* MCTIncudeSpec. Created by vwoeltje on 11/6/14.
|
||||||
@@ -27,7 +26,6 @@
|
|||||||
define(
|
define(
|
||||||
["../src/DialogService"],
|
["../src/DialogService"],
|
||||||
function (DialogService) {
|
function (DialogService) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
describe("The dialog service", function () {
|
describe("The dialog service", function () {
|
||||||
var mockOverlayService,
|
var mockOverlayService,
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise,describe,it,expect,beforeEach,waitsFor,jasmine*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* MCTIncudeSpec. Created by vwoeltje on 11/6/14.
|
* MCTIncudeSpec. Created by vwoeltje on 11/6/14.
|
||||||
@@ -27,7 +26,6 @@
|
|||||||
define(
|
define(
|
||||||
["../src/OverlayService"],
|
["../src/OverlayService"],
|
||||||
function (OverlayService) {
|
function (OverlayService) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
describe("The overlay service", function () {
|
describe("The overlay service", function () {
|
||||||
var mockDocument,
|
var mockDocument,
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
define([
|
define([
|
||||||
"./src/controllers/EditActionController",
|
"./src/controllers/EditActionController",
|
||||||
@@ -74,7 +73,6 @@ define([
|
|||||||
topbarEditTemplate,
|
topbarEditTemplate,
|
||||||
legacyRegistry
|
legacyRegistry
|
||||||
) {
|
) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
legacyRegistry.register("platform/commonUI/edit", {
|
legacyRegistry.register("platform/commonUI/edit", {
|
||||||
"extensions": {
|
"extensions": {
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
</mct-include>
|
</mct-include>
|
||||||
<div class="flex-elem grows vscroll">
|
<div class="flex-elem grows vscroll">
|
||||||
<ul class="tree">
|
<ul class="tree">
|
||||||
<li ng-repeat="containedObject in composition | filter:searchText">
|
<li ng-repeat="containedObject in composition | filter:searchElements">
|
||||||
<span class="tree-item">
|
<span class="tree-item">
|
||||||
<mct-representation
|
<mct-representation
|
||||||
class="rep-object-label"
|
class="rep-object-label"
|
||||||
|
|||||||
@@ -19,11 +19,9 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
function () {
|
function () {
|
||||||
'use strict';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The "Cancel" action; the action triggered by clicking Cancel from
|
* The "Cancel" action; the action triggered by clicking Cancel from
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Module defining EditAction. Created by vwoeltje on 11/14/14.
|
* Module defining EditAction. Created by vwoeltje on 11/14/14.
|
||||||
@@ -27,7 +26,6 @@
|
|||||||
define(
|
define(
|
||||||
['../objects/EditableDomainObject'],
|
['../objects/EditableDomainObject'],
|
||||||
function (EditableDomainObject) {
|
function (EditableDomainObject) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
// A no-op action to return in the event that the action cannot
|
// A no-op action to return in the event that the action cannot
|
||||||
// be completed.
|
// be completed.
|
||||||
|
|||||||
@@ -19,12 +19,10 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
[],
|
[],
|
||||||
function () {
|
function () {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Edit the properties of a domain object. Shows a dialog
|
* Edit the properties of a domain object. Shows a dialog
|
||||||
@@ -29,7 +28,6 @@
|
|||||||
define(
|
define(
|
||||||
['./PropertiesDialog'],
|
['./PropertiesDialog'],
|
||||||
function (PropertiesDialog) {
|
function (PropertiesDialog) {
|
||||||
'use strict';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implements the "Edit Properties" action, which prompts the user
|
* Implements the "Edit Properties" action, which prompts the user
|
||||||
|
|||||||
@@ -19,11 +19,9 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
function () {
|
function () {
|
||||||
'use strict';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Construct a new Properties dialog.
|
* Construct a new Properties dialog.
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Module defining RemoveAction. Created by vwoeltje on 11/17/14.
|
* Module defining RemoveAction. Created by vwoeltje on 11/17/14.
|
||||||
@@ -27,7 +26,6 @@
|
|||||||
define(
|
define(
|
||||||
[],
|
[],
|
||||||
function () {
|
function () {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Construct an action which will remove the provided object manifestation.
|
* Construct an action which will remove the provided object manifestation.
|
||||||
|
|||||||
@@ -19,14 +19,10 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
/*jslint es5: true */
|
|
||||||
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
[],
|
[],
|
||||||
function () {
|
function () {
|
||||||
'use strict';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The "Save" action; the action triggered by clicking Save from
|
* The "Save" action; the action triggered by clicking Save from
|
||||||
|
|||||||
@@ -19,14 +19,11 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
/*jslint es5: true */
|
|
||||||
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
['../../../browse/src/creation/CreateWizard'],
|
['../../../browse/src/creation/CreateWizard'],
|
||||||
function (CreateWizard) {
|
function (CreateWizard) {
|
||||||
'use strict';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The "Save" action; the action triggered by clicking Save from
|
* The "Save" action; the action triggered by clicking Save from
|
||||||
|
|||||||
@@ -19,12 +19,10 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
function () {
|
function () {
|
||||||
'use strict';
|
|
||||||
var DISALLOWED_ACTIONS = ["move", "copy", "link", "window", "follow"];
|
var DISALLOWED_ACTIONS = ["move", "copy", "link", "window", "follow"];
|
||||||
/**
|
/**
|
||||||
* Editable Action Capability. Overrides the action capability
|
* Editable Action Capability. Overrides the action capability
|
||||||
@@ -39,10 +37,7 @@ define(
|
|||||||
* @implements {PersistenceCapability}
|
* @implements {PersistenceCapability}
|
||||||
*/
|
*/
|
||||||
function EditableActionCapability(
|
function EditableActionCapability(
|
||||||
actionCapability,
|
actionCapability
|
||||||
editableObject,
|
|
||||||
domainObject,
|
|
||||||
cache
|
|
||||||
) {
|
) {
|
||||||
var action = Object.create(actionCapability);
|
var action = Object.create(actionCapability);
|
||||||
|
|
||||||
|
|||||||
@@ -19,13 +19,11 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
['./EditableLookupCapability'],
|
['./EditableLookupCapability'],
|
||||||
function (EditableLookupCapability) {
|
function (EditableLookupCapability) {
|
||||||
'use strict';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Wrapper for the "composition" capability;
|
* Wrapper for the "composition" capability;
|
||||||
|
|||||||
@@ -19,13 +19,11 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
['./EditableLookupCapability'],
|
['./EditableLookupCapability'],
|
||||||
function (EditableLookupCapability) {
|
function (EditableLookupCapability) {
|
||||||
'use strict';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Wrapper for the "context" capability;
|
* Wrapper for the "context" capability;
|
||||||
|
|||||||
@@ -19,13 +19,11 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
['./EditableLookupCapability'],
|
['./EditableLookupCapability'],
|
||||||
function (EditableLookupCapability) {
|
function (EditableLookupCapability) {
|
||||||
'use strict';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Wrapper for the "instantiation" capability;
|
* Wrapper for the "instantiation" capability;
|
||||||
|
|||||||
@@ -19,14 +19,12 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
[],
|
[],
|
||||||
function () {
|
function () {
|
||||||
'use strict';
|
/*jshint forin:false */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Wrapper for both "context" and "composition" capabilities;
|
* Wrapper for both "context" and "composition" capabilities;
|
||||||
* ensures that any domain objects reachable in Edit mode
|
* ensures that any domain objects reachable in Edit mode
|
||||||
|
|||||||
@@ -19,12 +19,10 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
function () {
|
function () {
|
||||||
'use strict';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Editable Persistence Capability. Overrides the persistence capability
|
* Editable Persistence Capability. Overrides the persistence capability
|
||||||
|
|||||||
@@ -19,13 +19,11 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
['./EditableLookupCapability'],
|
['./EditableLookupCapability'],
|
||||||
function (EditableLookupCapability) {
|
function (EditableLookupCapability) {
|
||||||
'use strict';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Wrapper for the "relationship" capability;
|
* Wrapper for the "relationship" capability;
|
||||||
|
|||||||
@@ -19,12 +19,10 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
[],
|
[],
|
||||||
function () {
|
function () {
|
||||||
'use strict';
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Module defining EditActionController. Created by vwoeltje on 11/17/14.
|
* Module defining EditActionController. Created by vwoeltje on 11/17/14.
|
||||||
@@ -27,7 +26,6 @@
|
|||||||
define(
|
define(
|
||||||
[],
|
[],
|
||||||
function () {
|
function () {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var ACTION_CONTEXT = { category: 'conclude-editing' };
|
var ACTION_CONTEXT = { category: 'conclude-editing' };
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This bundle implements Edit mode.
|
* This bundle implements Edit mode.
|
||||||
@@ -28,7 +27,6 @@
|
|||||||
define(
|
define(
|
||||||
[],
|
[],
|
||||||
function () {
|
function () {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Controller which is responsible for populating the scope for
|
* Controller which is responsible for populating the scope for
|
||||||
|
|||||||
@@ -19,12 +19,10 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
[],
|
[],
|
||||||
function () {
|
function () {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Supports the Library and Elements panes in Edit mode.
|
* Supports the Library and Elements panes in Edit mode.
|
||||||
|
|||||||
@@ -19,12 +19,10 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,Promise*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
[],
|
[],
|
||||||
function () {
|
function () {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The ElementsController prepares the elements view for display
|
* The ElementsController prepares the elements view for display
|
||||||
@@ -39,9 +37,20 @@ define(
|
|||||||
$scope.searchText = text;
|
$scope.searchText = text;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function searchElements(value) {
|
||||||
|
if ($scope.searchText) {
|
||||||
|
return value.getModel().name.toLowerCase().search(
|
||||||
|
$scope.searchText.toLowerCase()) !== -1;
|
||||||
|
} else {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
$scope.filterBy = filterBy;
|
$scope.filterBy = filterBy;
|
||||||
|
$scope.searchElements = searchElements;
|
||||||
}
|
}
|
||||||
|
|
||||||
return ElementsController;
|
return ElementsController;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -19,12 +19,10 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
[],
|
[],
|
||||||
function () {
|
function () {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines the `mct-before-unload` directive. The expression bound
|
* Defines the `mct-before-unload` directive. The expression bound
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defines EditableDomainObject, which wraps domain objects
|
* Defines EditableDomainObject, which wraps domain objects
|
||||||
@@ -51,7 +50,6 @@ define(
|
|||||||
EditableActionCapability,
|
EditableActionCapability,
|
||||||
EditableDomainObjectCache
|
EditableDomainObjectCache
|
||||||
) {
|
) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
var capabilityFactories = {
|
var capabilityFactories = {
|
||||||
persistence: EditablePersistenceCapability,
|
persistence: EditablePersistenceCapability,
|
||||||
|
|||||||
@@ -19,7 +19,6 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -36,7 +35,6 @@
|
|||||||
define(
|
define(
|
||||||
["./EditableModelCache"],
|
["./EditableModelCache"],
|
||||||
function (EditableModelCache) {
|
function (EditableModelCache) {
|
||||||
'use strict';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Construct a new cache for editable domain objects. This can be used
|
* Construct a new cache for editable domain objects. This can be used
|
||||||
@@ -70,8 +68,7 @@ define(
|
|||||||
EditableDomainObjectCache.prototype.getEditableObject = function (domainObject) {
|
EditableDomainObjectCache.prototype.getEditableObject = function (domainObject) {
|
||||||
var type = domainObject.getCapability('type'),
|
var type = domainObject.getCapability('type'),
|
||||||
EditableDomainObject = this.EditableDomainObject,
|
EditableDomainObject = this.EditableDomainObject,
|
||||||
editableObject,
|
editableObject;
|
||||||
statusListener;
|
|
||||||
|
|
||||||
// Track the top-level domain object; this will have
|
// Track the top-level domain object; this will have
|
||||||
// some special behavior for its context capability.
|
// some special behavior for its context capability.
|
||||||
|
|||||||
@@ -19,12 +19,10 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
[],
|
[],
|
||||||
function () {
|
function () {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An editable model cache stores domain object models that have been
|
* An editable model cache stores domain object models that have been
|
||||||
|
|||||||
@@ -19,12 +19,10 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
[],
|
[],
|
||||||
function () {
|
function () {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Policy controlling when the `edit` and/or `properties` actions
|
* Policy controlling when the `edit` and/or `properties` actions
|
||||||
@@ -74,9 +72,9 @@ define(
|
|||||||
*/
|
*/
|
||||||
function isEditing(context) {
|
function isEditing(context) {
|
||||||
var domainObject = (context || {}).domainObject;
|
var domainObject = (context || {}).domainObject;
|
||||||
return domainObject
|
return domainObject &&
|
||||||
&& domainObject.hasCapability('status')
|
domainObject.hasCapability('status') &&
|
||||||
&& domainObject.getCapability('status').get('editing');
|
domainObject.getCapability('status').get('editing');
|
||||||
}
|
}
|
||||||
|
|
||||||
EditActionPolicy.prototype.allow = function (action, context) {
|
EditActionPolicy.prototype.allow = function (action, context) {
|
||||||
|
|||||||
@@ -19,12 +19,10 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
[],
|
[],
|
||||||
function () {
|
function () {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Policy controlling whether the context menu is visible when
|
* Policy controlling whether the context menu is visible when
|
||||||
|
|||||||
@@ -19,12 +19,10 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
[],
|
[],
|
||||||
function () {
|
function () {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Policy controlling whether navigation events should proceed
|
* Policy controlling whether navigation events should proceed
|
||||||
@@ -47,8 +45,8 @@ define(
|
|||||||
statusCapability = navigatedObject &&
|
statusCapability = navigatedObject &&
|
||||||
navigatedObject.getCapability("status");
|
navigatedObject.getCapability("status");
|
||||||
|
|
||||||
return statusCapability && statusCapability.get('editing')
|
return statusCapability && statusCapability.get('editing') &&
|
||||||
&& editorCapability && editorCapability.dirty();
|
editorCapability && editorCapability.dirty();
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -19,10 +19,8 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
define([], function () {
|
define([], function () {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Policy suppressing links when the linked-to domain object is in
|
* Policy suppressing links when the linked-to domain object is in
|
||||||
|
|||||||
@@ -19,10 +19,8 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
define([], function () {
|
define([], function () {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Policy suppressing move actions among editable and non-editable
|
* Policy suppressing move actions among editable and non-editable
|
||||||
|
|||||||
@@ -19,12 +19,10 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
[],
|
[],
|
||||||
function () {
|
function () {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Policy controlling which views should be visible in Edit mode.
|
* Policy controlling which views should be visible in Edit mode.
|
||||||
|
|||||||
@@ -19,12 +19,10 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
[],
|
[],
|
||||||
function () {
|
function () {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The EditRepresenter is responsible for implementing
|
* The EditRepresenter is responsible for implementing
|
||||||
@@ -111,8 +109,8 @@ define(
|
|||||||
|
|
||||||
// Handle a specific representation of a specific domain object
|
// Handle a specific representation of a specific domain object
|
||||||
EditRepresenter.prototype.represent = function represent(representation, representedObject) {
|
EditRepresenter.prototype.represent = function represent(representation, representedObject) {
|
||||||
var scope = this.scope,
|
var scope = this.scope;
|
||||||
self = this;
|
|
||||||
// Track the key, to know which view configuration to save to.
|
// Track the key, to know which view configuration to save to.
|
||||||
this.key = (representation || {}).key;
|
this.key = (representation || {}).key;
|
||||||
// Track the represented object
|
// Track the represented object
|
||||||
@@ -131,7 +129,7 @@ define(
|
|||||||
* object representation accordingly
|
* object representation accordingly
|
||||||
*/
|
*/
|
||||||
this.listenHandle = this.domainObject.getCapability('status').listen(function(statuses){
|
this.listenHandle = this.domainObject.getCapability('status').listen(function(statuses){
|
||||||
if (statuses.indexOf('editing')!=-1){
|
if (statuses.indexOf('editing') !== -1){
|
||||||
setEditing();
|
setEditing();
|
||||||
} else {
|
} else {
|
||||||
delete scope.viewObjectTemplate;
|
delete scope.viewObjectTemplate;
|
||||||
|
|||||||
@@ -19,11 +19,9 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
define(
|
define(
|
||||||
[],
|
[],
|
||||||
function () {
|
function () {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
// Utility functions for reducing truth arrays
|
// Utility functions for reducing truth arrays
|
||||||
function and(a, b) { return a && b; }
|
function and(a, b) { return a && b; }
|
||||||
|
|||||||
@@ -19,12 +19,10 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
['./EditToolbar', './EditToolbarSelection'],
|
['./EditToolbar', './EditToolbarSelection'],
|
||||||
function (EditToolbar, EditToolbarSelection) {
|
function (EditToolbar, EditToolbarSelection) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
// No operation
|
// No operation
|
||||||
var NOOP_REPRESENTER = {
|
var NOOP_REPRESENTER = {
|
||||||
|
|||||||
@@ -19,12 +19,10 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
[],
|
[],
|
||||||
function () {
|
function () {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Tracks selection state for editable views. Selection is
|
* Tracks selection state for editable views. Selection is
|
||||||
|
|||||||
@@ -19,12 +19,10 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,describe,it,expect,beforeEach,jasmine,xit,xdescribe*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
["../../src/actions/CancelAction"],
|
["../../src/actions/CancelAction"],
|
||||||
function (CancelAction) {
|
function (CancelAction) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
//TODO: Disabled for NEM Beta
|
//TODO: Disabled for NEM Beta
|
||||||
xdescribe("The Cancel action", function () {
|
xdescribe("The Cancel action", function () {
|
||||||
|
|||||||
@@ -19,12 +19,10 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,describe,it,expect,beforeEach,jasmine,xit,xdescribe*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
["../../src/actions/EditAction"],
|
["../../src/actions/EditAction"],
|
||||||
function (EditAction) {
|
function (EditAction) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
describe("The Edit action", function () {
|
describe("The Edit action", function () {
|
||||||
var mockLocation,
|
var mockLocation,
|
||||||
|
|||||||
@@ -19,12 +19,10 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,describe,it,expect,beforeEach,jasmine,spyOn*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
["../../src/actions/LinkAction"],
|
["../../src/actions/LinkAction"],
|
||||||
function (LinkAction) {
|
function (LinkAction) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
describe("The Link action", function () {
|
describe("The Link action", function () {
|
||||||
var mockQ,
|
var mockQ,
|
||||||
|
|||||||
@@ -19,12 +19,10 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,describe,it,xit,expect,beforeEach,jasmine*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
['../../src/actions/PropertiesAction'],
|
['../../src/actions/PropertiesAction'],
|
||||||
function (PropertiesAction) {
|
function (PropertiesAction) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
describe("Properties action", function () {
|
describe("Properties action", function () {
|
||||||
var capabilities, model, object, context, input, dialogService, action;
|
var capabilities, model, object, context, input, dialogService, action;
|
||||||
|
|||||||
@@ -19,16 +19,14 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,describe,it,xit,expect,beforeEach*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
["../../src/actions/PropertiesDialog"],
|
["../../src/actions/PropertiesDialog"],
|
||||||
function (PropertiesDialog) {
|
function (PropertiesDialog) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
describe("Properties dialog", function () {
|
describe("Properties dialog", function () {
|
||||||
|
|
||||||
var type, properties, domainObject, model, dialog;
|
var type, properties, model, dialog;
|
||||||
|
|
||||||
beforeEach(function () {
|
beforeEach(function () {
|
||||||
type = {
|
type = {
|
||||||
|
|||||||
@@ -19,12 +19,10 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,describe,it,expect,beforeEach,jasmine,spyOn*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
["../../src/actions/RemoveAction"],
|
["../../src/actions/RemoveAction"],
|
||||||
function (RemoveAction) {
|
function (RemoveAction) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
describe("The Remove action", function () {
|
describe("The Remove action", function () {
|
||||||
var mockQ,
|
var mockQ,
|
||||||
|
|||||||
@@ -19,12 +19,10 @@
|
|||||||
* this source code distribution or the Licensing information page available
|
* this source code distribution or the Licensing information page available
|
||||||
* at runtime from the About dialog for additional information.
|
* at runtime from the About dialog for additional information.
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
/*global define,describe,it,expect,beforeEach,jasmine,xit,xdescribe*/
|
|
||||||
|
|
||||||
define(
|
define(
|
||||||
["../../src/actions/SaveAction"],
|
["../../src/actions/SaveAction"],
|
||||||
function (SaveAction) {
|
function (SaveAction) {
|
||||||
"use strict";
|
|
||||||
|
|
||||||
describe("The Save action", function () {
|
describe("The Save action", function () {
|
||||||
var mockDomainObject,
|
var mockDomainObject,
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user