From a83b3c0e8374d17bc139d11f407bd86fa5d3e30f Mon Sep 17 00:00:00 2001 From: ChangHyun Lee Date: Mon, 17 Apr 2017 19:10:01 +0900 Subject: [PATCH] [TIC-Web] add boilerplate - add boilerplate Change-Id: Ia3a3697fe5e8bbd616f7aa4b9cc3f0506330ac99 Signed-off-by: ChangHyun Lee --- app.js | 16 ++++++++++++++++ controller/dbpool.js | 19 +++++++++++++++++-- controller/dbquery.js | 18 ++++++++++++++++-- controller/filesystem.js | 16 ++++++++++++++++ controller/mic.js | 16 ++++++++++++++++ controller/router.js | 16 ++++++++++++++++ controller/server.js | 16 ++++++++++++++++ controller/session.js | 16 ++++++++++++++++ controller/socketio.js | 16 ++++++++++++++++ controller/ticcore.js | 16 ++++++++++++++++ gulpfile.js | 16 ++++++++++++++++ public/src/css/style.css | 16 ++++++++++++++++ public/src/index.html | 15 +++++++++++++++ public/src/js/config.js | 16 ++++++++++++++++ public/src/js/logger.js | 16 ++++++++++++++++ public/src/js/main.js | 16 ++++++++++++++++ public/src/js/model/ImageModel.js | 16 ++++++++++++++++ public/src/js/model/JobModel.js | 16 ++++++++++++++++ public/src/js/model/JobPagingModel.js | 18 +++++++++++++++++- public/src/js/model/JobStatusModel.js | 16 ++++++++++++++++ public/src/js/page/export.js | 16 ++++++++++++++++ public/src/js/page/image.js | 16 ++++++++++++++++ public/src/js/page/import.js | 16 ++++++++++++++++ public/src/js/page/job.js | 16 ++++++++++++++++ public/src/js/page/login.js | 16 ++++++++++++++++ public/src/js/page/package.js | 16 ++++++++++++++++ public/src/js/page/settings.js | 16 ++++++++++++++++ public/src/js/util.js | 16 ++++++++++++++++ public/src/js/widget/ImageEmptyItem.js | 16 ++++++++++++++++ public/src/js/widget/ImageItem.js | 16 ++++++++++++++++ public/src/js/widget/JobLog.js | 16 ++++++++++++++++ public/src/js/widget/JobPaging.js | 16 ++++++++++++++++ public/src/js/widget/JobTableEmptyItem.js | 16 ++++++++++++++++ public/src/js/widget/JobTableItem.js | 16 ++++++++++++++++ 34 files changed, 545 insertions(+), 5 deletions(-) diff --git a/app.js b/app.js index 55ff958..5be94ea 100644 --- a/app.js +++ b/app.js @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + var express = require('express'); var session = require('express-session'); var path = require('path'); diff --git a/controller/dbpool.js b/controller/dbpool.js index 973a306..27d897d 100644 --- a/controller/dbpool.js +++ b/controller/dbpool.js @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + 'use strict' var generic_pool = require('generic-pool'); @@ -7,10 +23,9 @@ var logger = JL('dbpool.js'); var AppConfig = require('../config.json'); - function dbPool () { var self = this; - + self.configMariasql = { host: AppConfig.DATABASE.HOST, user: AppConfig.DATABASE.USERNAME, diff --git a/controller/dbquery.js b/controller/dbquery.js index 09f429a..0049356 100644 --- a/controller/dbquery.js +++ b/controller/dbquery.js @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + 'use strict'; var mariaSql = require('mariasql'); @@ -305,8 +321,6 @@ mariadb.getImagesTotalCount = function getImagesTotalCount(req, res) { // call this.doQuery(queryString).then(onSuccess); - - }; /** diff --git a/controller/filesystem.js b/controller/filesystem.js index b497513..7292bfd 100644 --- a/controller/filesystem.js +++ b/controller/filesystem.js @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + 'use strict'; var fs = require('fs'); diff --git a/controller/mic.js b/controller/mic.js index 27f96e0..fb15119 100644 --- a/controller/mic.js +++ b/controller/mic.js @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + 'use strict'; var mkdirp = require('mkdirp'); diff --git a/controller/router.js b/controller/router.js index 72f2e31..1c2f260 100644 --- a/controller/router.js +++ b/controller/router.js @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + 'use strict'; // middle-ware diff --git a/controller/server.js b/controller/server.js index d432946..962fe56 100644 --- a/controller/server.js +++ b/controller/server.js @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + 'use strict'; var moment = require('moment'); diff --git a/controller/session.js b/controller/session.js index deb96ac..e04f2e0 100644 --- a/controller/session.js +++ b/controller/session.js @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + 'use strict'; var dbquery = require('./dbquery'); diff --git a/controller/socketio.js b/controller/socketio.js index 010d7a7..a79df9d 100644 --- a/controller/socketio.js +++ b/controller/socketio.js @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + 'use strict'; var socketio = require('socket.io'); diff --git a/controller/ticcore.js b/controller/ticcore.js index 0a10e5e..429e49f 100644 --- a/controller/ticcore.js +++ b/controller/ticcore.js @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + 'use strict'; var JL = require('jsnlog').JL; diff --git a/gulpfile.js b/gulpfile.js index 21dd013..691fa1b 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + var gulp = require('gulp'); var del = require('del'); var merge = require('merge-stream'); diff --git a/public/src/css/style.css b/public/src/css/style.css index 21e0d6b..a66e742 100644 --- a/public/src/css/style.css +++ b/public/src/css/style.css @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + /* Common */ body { width: 100%; diff --git a/public/src/index.html b/public/src/index.html index a0339a3..7cdb5a4 100644 --- a/public/src/index.html +++ b/public/src/index.html @@ -1,3 +1,18 @@ + + diff --git a/public/src/js/config.js b/public/src/js/config.js index 6f5ca65..c4cb7c6 100644 --- a/public/src/js/config.js +++ b/public/src/js/config.js @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + require = { baseUrl : '/', paths : { diff --git a/public/src/js/logger.js b/public/src/js/logger.js index 1974fba..8ec3b06 100644 --- a/public/src/js/logger.js +++ b/public/src/js/logger.js @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + define([ 'jsnlog' ], function ( diff --git a/public/src/js/main.js b/public/src/js/main.js index b76c870..fc6fc0e 100644 --- a/public/src/js/main.js +++ b/public/src/js/main.js @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + define([ 'jquery', 'bootstrap', diff --git a/public/src/js/model/ImageModel.js b/public/src/js/model/ImageModel.js index ec507dc..cbd4295 100644 --- a/public/src/js/model/ImageModel.js +++ b/public/src/js/model/ImageModel.js @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + define([ 'jquery', 'lodash', diff --git a/public/src/js/model/JobModel.js b/public/src/js/model/JobModel.js index ee337a5..1107cc6 100644 --- a/public/src/js/model/JobModel.js +++ b/public/src/js/model/JobModel.js @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + define([ 'jquery', 'lodash', diff --git a/public/src/js/model/JobPagingModel.js b/public/src/js/model/JobPagingModel.js index 643e9ed..a4028c1 100644 --- a/public/src/js/model/JobPagingModel.js +++ b/public/src/js/model/JobPagingModel.js @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + define([ 'jquery', 'lodash', @@ -77,7 +93,7 @@ define([ var current, max; current = this.getCurrentPoint(); max = this.getMaxPoint(); - + if (current <= max) { this.startPoint = 1; } else { diff --git a/public/src/js/model/JobStatusModel.js b/public/src/js/model/JobStatusModel.js index 677c953..17d4b3c 100644 --- a/public/src/js/model/JobStatusModel.js +++ b/public/src/js/model/JobStatusModel.js @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + define([ 'lodash' ], function ( diff --git a/public/src/js/page/export.js b/public/src/js/page/export.js index 52e1620..8f5d32d 100644 --- a/public/src/js/page/export.js +++ b/public/src/js/page/export.js @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + define([ 'jquery', 'lodash', diff --git a/public/src/js/page/image.js b/public/src/js/page/image.js index d27f20d..857eb74 100644 --- a/public/src/js/page/image.js +++ b/public/src/js/page/image.js @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + define([ 'jquery', 'lodash', diff --git a/public/src/js/page/import.js b/public/src/js/page/import.js index e8be7a9..50248a3 100644 --- a/public/src/js/page/import.js +++ b/public/src/js/page/import.js @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + define([ 'jquery', 'lodash', diff --git a/public/src/js/page/job.js b/public/src/js/page/job.js index 9377954..d6beb42 100644 --- a/public/src/js/page/job.js +++ b/public/src/js/page/job.js @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + define([ 'jquery', 'lodash', diff --git a/public/src/js/page/login.js b/public/src/js/page/login.js index 7aca463..db833bd 100644 --- a/public/src/js/page/login.js +++ b/public/src/js/page/login.js @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + define([ 'jquery', 'bootstrap-validator', diff --git a/public/src/js/page/package.js b/public/src/js/page/package.js index 45cfd82..f8c09c2 100644 --- a/public/src/js/page/package.js +++ b/public/src/js/page/package.js @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + define([ 'jquery', 'lodash', diff --git a/public/src/js/page/settings.js b/public/src/js/page/settings.js index f969be4..d952ee9 100644 --- a/public/src/js/page/settings.js +++ b/public/src/js/page/settings.js @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + define([ 'jquery', 'jquery-sortable', diff --git a/public/src/js/util.js b/public/src/js/util.js index 0b7f21d..dc23386 100644 --- a/public/src/js/util.js +++ b/public/src/js/util.js @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + define([ 'jquery' ], function ( diff --git a/public/src/js/widget/ImageEmptyItem.js b/public/src/js/widget/ImageEmptyItem.js index d7df44e..357b57c 100644 --- a/public/src/js/widget/ImageEmptyItem.js +++ b/public/src/js/widget/ImageEmptyItem.js @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + define([ 'jquery', 'lodash', diff --git a/public/src/js/widget/ImageItem.js b/public/src/js/widget/ImageItem.js index f583cb6..75bfa78 100644 --- a/public/src/js/widget/ImageItem.js +++ b/public/src/js/widget/ImageItem.js @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + define([ 'jquery', 'lodash', diff --git a/public/src/js/widget/JobLog.js b/public/src/js/widget/JobLog.js index fb20829..1a3d349 100644 --- a/public/src/js/widget/JobLog.js +++ b/public/src/js/widget/JobLog.js @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + define([ 'jquery', 'lodash', diff --git a/public/src/js/widget/JobPaging.js b/public/src/js/widget/JobPaging.js index 108c786..d5c887e 100644 --- a/public/src/js/widget/JobPaging.js +++ b/public/src/js/widget/JobPaging.js @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + define([ 'jquery', 'lodash', diff --git a/public/src/js/widget/JobTableEmptyItem.js b/public/src/js/widget/JobTableEmptyItem.js index 5453ffb..7fd95fc 100644 --- a/public/src/js/widget/JobTableEmptyItem.js +++ b/public/src/js/widget/JobTableEmptyItem.js @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + define([ 'jquery', 'lodash', diff --git a/public/src/js/widget/JobTableItem.js b/public/src/js/widget/JobTableItem.js index 2de71d3..d935961 100644 --- a/public/src/js/widget/JobTableItem.js +++ b/public/src/js/widget/JobTableItem.js @@ -1,3 +1,19 @@ +/* + * Copyright (c) 2017 Samsung Electronics Co., Ltd + * + * Licensed under the Flora License, Version 1.1 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://floralicense.org/license/ + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + define([ 'jquery', 'lodash', -- 2.7.4