Comparing version 0.3.0 to 0.3.1
@@ -12,3 +12,3 @@ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.raterJs = f()}})(function(){var define,module,exports;return (function(){function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s}return e})()({1:[function(require,module,exports){ | ||
var stars = options.max || 5; | ||
var starWidth = 18; | ||
var starWidth = options.starWidth || 18; | ||
@@ -15,0 +15,0 @@ var rating; |
@@ -11,3 +11,3 @@ var css = require('./style.css'); | ||
var stars = options.max || 5; | ||
var starWidth = options || 18; | ||
var starWidth = options.starWidth || 18; | ||
@@ -14,0 +14,0 @@ var rating; |
{ | ||
"name": "rater-js", | ||
"description": "Star rating widget for the browser.", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"repository": { | ||
@@ -13,3 +13,4 @@ "type": "git", | ||
"scripts": { | ||
"build": "browserify -t [ browserify-css --inlineImages ] ./lib/rater-js -o index.js --standalone rater-js" | ||
"build": "browserify -t [ browserify-css --inlineImages ] ./lib/rater-js -o index.js --standalone rater-js", | ||
"test": "mocha --require ignore-styles" | ||
}, | ||
@@ -32,5 +33,8 @@ "keywords": [ | ||
"devDependencies": { | ||
"browserify": "^16.1.1", | ||
"browserify-css": "^0.14.0", | ||
"browserify": "^16.1.1" | ||
"ignore-styles": "^5.0.1", | ||
"jsdom": "^11.6.2", | ||
"mocha": "^5.0.5" | ||
} | ||
} |
@@ -9,2 +9,3 @@ Rater Js | ||
[![Downloads][downloads-image]][downloads-url] | ||
[![Build Status](https://travis-ci.org/fredolss/rater-js.svg?branch=master)](https://travis-ci.org/fredolss/rater-js) | ||
@@ -11,0 +12,0 @@ **rater-js** is a star rating widget for the browser. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
29494
16
479
121
0
5