Skip to content

Commit

Permalink
customize for MIT
Browse files Browse the repository at this point in the history
  • Loading branch information
adamshire123 committed Nov 7, 2024
1 parent dbc7d98 commit d91255f
Show file tree
Hide file tree
Showing 65 changed files with 9,032 additions and 5,748 deletions.
8 changes: 1 addition & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,2 @@
primo-explore/custom/
primo-explore/tmp/

!primo-explore/custom/.gitignore
!primo-explore/tmp/.gitignore

.idea/
.idea/
package-lock.json
58 changes: 29 additions & 29 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
BSD 3-Clause License

Copyright (c) 2019, Ex Libris, Ltd.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
BSD 3-Clause License
Copyright (c) 2019, Ex Libris, Ltd.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
256 changes: 128 additions & 128 deletions README.md

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions addons/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Ignore everything in this directory
*
# Except this file
# Ignore everything in this directory
*
# Except this file
!.gitignore
4 changes: 2 additions & 2 deletions app.css

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions colors.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"primary": "#53738C",
"secondary" : "#A9CDD6",
"backgroundColor" : "white",
"links": "#5C92BD",
"warning": "tomato",
"positive": "#0f7d00",
"negative": "gray",
"notice": "#e08303"
{
"primary": "#53738C",
"secondary" : "#A9CDD6",
"backgroundColor" : "white",
"links": "#5C92BD",
"warning": "tomato",
"positive": "#0f7d00",
"negative": "gray",
"notice": "#e08303"
}
84 changes: 42 additions & 42 deletions gulp/browserSyncManager.js
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
var browserSync = require('browser-sync');


module.exports = {
closeServer: closeServer,
reloadServer: reloadServer,
streamToServer: streamToServer,
startServer: startServer,
};

function closeServer(label) {
browserSync.get(label).exit();
}

function reloadServer(label) {
return browserSync.get('production').reload();
}

function streamToServer() {
return browserSync.get('production').stream();
}

function startServer(args) {
var label = args.label;
var port = args.port;
var baseDir = args.baseDir;
var middleware = args.middleware;
var open = args.open;

var server = browserSync.create(label);
var conf = {
port: port,
server: {
baseDir: baseDir
},
open:open
};
if(middleware) {
conf.middleware = args.middleware;
}
server.init(conf);

var browserSync = require('browser-sync');


module.exports = {
closeServer: closeServer,
reloadServer: reloadServer,
streamToServer: streamToServer,
startServer: startServer,
};

function closeServer(label) {
browserSync.get(label).exit();
}

function reloadServer(label) {
return browserSync.get('production').reload();
}

function streamToServer() {
return browserSync.get('production').stream();
}

function startServer(args) {
var label = args.label;
var port = args.port;
var baseDir = args.baseDir;
var middleware = args.middleware;
var open = args.open;

var server = browserSync.create(label);
var conf = {
port: port,
server: {
baseDir: baseDir
},
open:open
};
if(middleware) {
conf.middleware = args.middleware;
}
server.init(conf);

}
Loading

0 comments on commit d91255f

Please sign in to comment.