From 828e0e973a50523c24989dc7289dd04e3b657b58 Mon Sep 17 00:00:00 2001 From: Christopher Joe Date: Mon, 6 Mar 2017 14:43:09 +1300 Subject: [PATCH] update webpack settings and switch to yarn --- client/dist/images/blue-folder-horizontal.png | Bin 375 -> 0 bytes client/dist/js/SilverStripeNavigator.js | 10 +- client/dist/js/bundle.js | 247 +- client/dist/styles/SilverStripeNavigator.css | 90 +- client/dist/styles/bundle.css | 2 - npm-shrinkwrap.json | 8448 ----------------- package.json | 6 +- webpack-dev.config.js | 25 + webpack.config.js | 211 +- yarn.lock | 4550 +++++++++ 10 files changed, 4920 insertions(+), 8669 deletions(-) delete mode 100644 client/dist/images/blue-folder-horizontal.png delete mode 100644 npm-shrinkwrap.json create mode 100644 webpack-dev.config.js create mode 100644 yarn.lock diff --git a/client/dist/images/blue-folder-horizontal.png b/client/dist/images/blue-folder-horizontal.png deleted file mode 100644 index e38659fbd2bc02a06a0088da5e7b885e6ec77105..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 375 zcmV--0f_#IP)ur?`qG%l_*N+neBE4K%q-nY$Nii4<+2jpLGAkJ*i6kV=2Jo^hhj111`8)dk zZD#ohk`OfYiUiK(5LRKa_^jLy!|*3TPF|Bi9SS}7N&@2?LD;`zkMt_FKe|G+v-_u?^f7x?JO#{6rfJ#k0&&(e._addActions(),this.bind("change",function(n){var s=e.data("OrigVal"),o=e.val() -e.data("OrigVal",o),0===a.val().indexOf(a.data("defaultUrl"))&&""==i.val()?e.updateURLSegment(o):t(".update",e.parent()).show(),e.updateRelatedFields(o,s),e.updateBreadcrumbLabel(o)})),this._super()},onunmatch:function a(){ -this._super()},updateRelatedFields:function i(e,n){this.parents("form").find("input[name=MetaTitle], input[name=MenuTitle]").each(function(){var a=t(this) -a.val()==n&&(a.val(e),a.updatedRelatedFields&&a.updatedRelatedFields())})},updateURLSegment:function s(e){var n=t("input:text[name=URLSegment]",this.closest("form")),a=n.closest(".field.urlsegment"),i=t(".update",this.parent()) +function a(t){return t&&t.__esModule?t:{default:t}}var i=n(2),s=a(i),o=n(5),r=a(o) +s.default.entwine("ss",function(t){t(".cms-edit-form :input[name=ClassName]").entwine({onchange:function t(){alert(r.default._t("CMSMAIN.ALERTCLASSNAME"))}}),t(".cms-edit-form input[name=Title]").entwine({ +onmatch:function e(){var n=this +n.data("OrigVal",n.val()) +var a=n.closest("form"),i=t("input:text[name=URLSegment]",a),s=t("input[name=LiveLink]",a) +i.length>0&&(n._addActions(),this.bind("change",function(e){var a=n.data("OrigVal"),o=n.val() +n.data("OrigVal",o),0===i.val().indexOf(i.data("defaultUrl"))&&""==s.val()?n.updateURLSegment(o):t(".update",n.parent()).show(),n.updateRelatedFields(o,a),n.updateBreadcrumbLabel(o)})),this._super()},onunmatch:function t(){ +this._super()},updateRelatedFields:function e(n,a){this.parents("form").find("input[name=MetaTitle], input[name=MenuTitle]").each(function(){var e=t(this) +e.val()==a&&(e.val(n),e.updatedRelatedFields&&e.updatedRelatedFields())})},updateURLSegment:function e(n){var a=t("input:text[name=URLSegment]",this.closest("form")),i=a.closest(".field.urlsegment"),s=t(".update",this.parent()) -a.update(e),i.is(":visible")&&i.hide()},updateBreadcrumbLabel:function o(e){var n=t(".cms-edit-form input[name=ID]").val(),a=t("span.cms-panel-link.crumb") -e&&""!=e&&a.text(e)},_addActions:function d(){var e=this,n -n=t("