aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorFotoVerite <[email protected]>2014-02-17 22:01:51 -0500
committerFotoVerite <[email protected]>2014-02-17 22:01:51 -0500
commit84ed0c68a0672b5e07b0bcdf2c2b84b2ea07d1b3 (patch)
treee45a42cc124cf1f48e15b85a4127f7d48c9a5a7f /examples
parentdbf8bc53e360fc724c7392241176abcd82ae8976 (diff)
downloadfaker-84ed0c68a0672b5e07b0bcdf2c2b84b2ea07d1b3.tar.xz
faker-84ed0c68a0672b5e07b0bcdf2c2b84b2ea07d1b3.zip
More updating to get things inline.
Diffstat (limited to 'examples')
-rw-r--r--examples/js/Faker.js20
1 files changed, 9 insertions, 11 deletions
diff --git a/examples/js/Faker.js b/examples/js/Faker.js
index eaa9db74..ddc99937 100644
--- a/examples/js/Faker.js
+++ b/examples/js/Faker.js
@@ -17,7 +17,7 @@ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-/*************** AUTOGENERATED @ 1392691071208 ***************
+/*************** AUTOGENERATED @ 1392692150569 ***************
WARNING: THIS FILE WAS AUTOGENERATED BY THE FAKER BUILD SCRIPT
MODIFYING THIS FILE IS FINE, BUT YOU REALLY SHOULD BE MODIFYING
THE LIBRARY DIRECTLY AND REGENERATING THIS FILE USING BUILD.js!!!!
@@ -238,17 +238,15 @@ Faker.Image.avatar = function () {
return Faker.random.avatar_uri();
};
-Faker.Image.atry = [object Object];
-
Faker.Image.imageUrl = function (width, height, category) {
- var width = width || 640;
- var height = height || 480;
-
- var url ='http://lorempixel.com/' + width + '/' + height;
- if (typeof category !== 'undefined') {
- url += '/' + category;
- }
- return url;
+ var width = width || 640;
+ var height = height || 480;
+
+ var url ='http://lorempixel.com/' + width + '/' + height;
+ if (typeof category !== 'undefined') {
+ url += '/' + category;
+ }
+ return url;
};
Faker.Image.abstractImage = function (width, height) {