PatrickJS on npm_and_yarn
PatrickJS on master
chore(deps-dev): bump node-sass… (compare)
dependabot[bot] on npm_and_yarn
chore(deps-dev): bump node-sass… (compare)
PatrickJS on master
Update README.md (compare)
.component('myComponent', {
bindings: {
'oneWay': '<',
'twoWay': '='
},
template: `
<div class="my-component">
<div class="my-component__two-way">{{$ctrl.twoWay}}</div>
<div class="my-component__one-way">{{$ctrl.oneWay}}</div>
</div>
`
controller: function () {
this.twoWay = 'we are screwed'; // will override value
this.oneWay = 'hell yeah!'; // will override just copy, no side effects
}
});
hey @fesor, when I did this:
export function loginInterceptor($q, $location) {
"ngInject";
let response = (response) => {
console.log("response");
console.log(response);
return response;
};
let responseError = (response) => {
var status = response.status;
console.log(response.status);
if (status == 403) {
console.log("redirect to login screen");
$location.path('/login');
}
return $q.reject(response);
};
return {response, responseError};
}
it complained that the Argument was not a function when I tried to add it to .factor(). but if I add default after function, it worked … is that … normal?
@import ‘~font-awesome/css/font-awesome.min.css’
and then added url-loader to the webpack.config.js but it complains about the module loading ERROR in ./~/font-awesome/fonts/fontawesome-webfont.ttf?v=4.5.0
Module parse failed: ~/client/node_modules/font-awesome/fonts/fontawesome-webfont.ttf?v=4.5.0 Line 1: Unexpected token ILLEGAL
You may need an appropriate loader to handle this file type.
(Source code omitted for this binary file)
@ ./~/css-loader!./~/font-awesome/css/font-awesome.min.css 6:576-627
resolve directory
directory default file index
resolve file index in /~/client/node_modules/ng-table
/~/client/node_modules/ng-table/index doesn't exist
/~/client/node_modules/ng-table/index.webpack.js doesn't exist
/~/client/node_modules/ng-table/index.web.js doesn't exist
/~/client/node_modules/ng-table/index.js doesn't exist
/~/client/node_modules/ng-table/index.json doesn't exist