Tuesday, August 22, 2017

Changes to github repo to support jquery-ui cont

Final move:

/var/www/html/cp2-bc-node-arc-d3/node-arc-d3/node_modules/jquery-ui/ui#

ls ../

AUTHORS.txt      CONTRIBUTING.md  demos-test/      .gitattributes   .jshintrc        .npmignore       tests/           ui/
bower.json       .csslintrc       .editorconfig    Gruntfile.js     LICENSE.txt      package.json     themes/         
build/           demos/           external/        .jscsrc          .mailmap         README.md        .travis.yml

match to:
    baseUrl: window.location.pathname.indexOf( "node-arc-d3/" ) !== -1 ? "node_modules/jquery-ui/ui/" : "../node_modules/jquery-ui/ui/",
        paths: {
                lodash: "../../lodash/lodash",
                jquery: "../external/jquery/jquery",
                external: "../external/",
//                d3sketch: "../demos/d3sketch",
                d3: "../../d3/build/d3",
//                d3: "../demos/d3.v4.min",
//                isthebest: "../demos/isthebest",
                fn_parsefile: "../demos-test/js/libraries/fn_parsefile",
                n3lib: "../demos-test/js/libraries/bun2-exportN3",
                jsonld: "../../jsonld/js/jsonld",
                fn_ldpsparql: "../demos-test/js/libraries/fn_ldpsparql",
                fn_triplemodifications: "../demos-test/js/libraries/fn_triplemodifications",
                parsetriples: "../demos-test/js/parsetriples",
                urijs: "../../urijs/src/",
                triplemodifications: "../demos-test/js/triplemodifications",
                createprimitives: "../demos-test/js/createprimitives",
                d3sketch: "../demos-test/js/d3sketch"
             //   d3: "../../d3/build/d3"
        },
        shim: {
                "external/globalize/globalize.culture.de-DE": [ "external/globalize/globalize" ],
                "external/globalize/globalize.culture.ja-JP": [ "external/globalize/globalize" ]

++++++

observing, I need to change all the custom library paths to begin with  ls ../../../js/

move images/ for jquery-ui to css/ (this could be inspiration for creating your own buttons

See: https://github.com/bshambaugh/node-arc-d3 for the result

No comments:

Post a Comment