Skip to content

Commit

Permalink
chore(release): bump version 1.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
softmonkeyjapan committed Jan 25, 2018
1 parent ce4a77e commit d6b441a
Show file tree
Hide file tree
Showing 5 changed files with 5,523 additions and 29 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simpleresource",
"version": "1.0.4",
"version": "1.0.5",
"authors": [
"Loic Kartono <[email protected]>"
],
Expand Down
52 changes: 26 additions & 26 deletions dist/simple-resource.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
var metadata = {}

Object.keys(PaginatorSettings.mapping).forEach(function (key) {
metadata[key] = headers[PaginatorSettings.mapping[key]]
metadata[key] = parseInt(headers[PaginatorSettings.mapping[key]], 10)
})

return metadata
Expand Down Expand Up @@ -210,31 +210,6 @@
}])
})();

(function () {
SRHelper.$inject = ["inflector"];
angular
.module('SimpleResource')
.service('SRHelper', SRHelper)

function SRHelper (inflector) {
var service = {
isNumeric: isNumeric
}

return service

/**
* Check whether an object is a number.
*
* @param {Object} object - Object to check numericallity on.
* @return {Boolean} True if number, false otherwise.
*/
function isNumeric (object) {
return !isNaN(parseFloat(object)) && isFinite(object);
}
}
})();

(function () {
SRInterceptor.$inject = ["SimpleResourceSettings", "SimplePaginator"];
angular
Expand Down Expand Up @@ -310,6 +285,31 @@
}
})();

(function () {
SRHelper.$inject = ["inflector"];
angular
.module('SimpleResource')
.service('SRHelper', SRHelper)

function SRHelper (inflector) {
var service = {
isNumeric: isNumeric
}

return service

/**
* Check whether an object is a number.
*
* @param {Object} object - Object to check numericallity on.
* @return {Boolean} True if number, false otherwise.
*/
function isNumeric (object) {
return !isNaN(parseFloat(object)) && isFinite(object);
}
}
})();

(function () {
SRParameters.$inject = ["inflector", "SimpleResourceSettings"];
angular
Expand Down
2 changes: 1 addition & 1 deletion dist/simple-resource.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d6b441a

Please sign in to comment.